]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0407: Stuck with long line and half-page scrolling v9.1.0407
authorLuuk van Baal <luukvbaal@gmail.com>
Sat, 11 May 2024 09:27:52 +0000 (11:27 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 11 May 2024 09:27:52 +0000 (11:27 +0200)
commit58448e09be497a8abb595ae309b6edfbc8e0e05a
tree285a91e351290845da80b9b6d2dc3b16b857e0f8
parent031a745608d615d56f9d79bb0f76e2a74b2eaf14
patch 9.1.0407: Stuck with long line and half-page scrolling

Problem:  No scrolling happens with half-page scrolling with line
          filling entire window when 'smoothscroll' is disabled.
          (Mathias Rav, after v9.1.0285)
Solution: Adjust amount to move cursor by so that it is moved the same
          number of lines as was scrolled, even when scrolling different
          number of lines than requested with 'nosmoothscroll'.

fixes: #14743
closes: #14746

Signed-off-by: Luuk van Baal <luukvbaal@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/move.c
src/testdir/test_normal.vim
src/version.c