Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unwanted view adjustment after page down (#3555)
Fix regression introduced while implementing nano-like page up/down in commit b2dbcb3: if the view is already at the end of the buffer and the last line is even above the bottom, i.e. there are some empty lines displayed below the last line (e.g. if we have scrolled past the last line via the mouse wheel), pressing PageDown not just moves the cursor to the last line but also unexpectedly adjusts the view so that the last line is exactly at the bottom.
- Loading branch information