Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrolling documentation down scrolls too far, and further than scrolling up does #2148

Closed
aukeroorda opened this issue Apr 17, 2022 · 0 comments · Fixed by #2497
Closed

Scrolling documentation down scrolls too far, and further than scrolling up does #2148

aukeroorda opened this issue Apr 17, 2022 · 0 comments · Fixed by #2497
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug

Comments

@aukeroorda
Copy link

Summary

Scrolling down in the documentation using ctrl+d scrolls further down than ctrl+u scrolls up. Scrolling down even jumps too far, skipping a few lines.

Scrolling down too far

https://asciinema.org/a/488137
Note how the lines prefixed with >>> here are skipped when scrolling down:

 suboptimal, they're probably a good enough choice to  
>>> get started.
>>>
 Rust's collections can be grouped into four major 
 categories:                                           

And that when scrolling back up, we don't arrive at the initial location, but a little lower, as we scroll up less than we have scrolled down.

Reproduction Steps

I tried this:

  1. space+k to open documentation
  2. ctrl+d to scroll down

I expected this to happen:
Scroll down without creating a gap between the current and previous view window.

Instead, this happened:
Right now it scrolls so far down, that some lines below the previous viewing window are now above it, without ever being in view.

Helix log

~/.cache/helix/helix.log

These are the only two lines from this session.

2022-04-17T18:29:53.490 helix_lsp::transport [ERROR] <- Server error: content modified
2022-04-17T18:29:54.418 helix_lsp::transport [ERROR] <- Server error: content modified

Platform

macOS

Terminal Emulator

iTerm2 Build 3.4.15

Helix Version

helix 22.03 (d4e45fd)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants