patch 9.1.0211: page-wise scrolling does not support smooth-scrolling

Problem:  Page-wise scrolling with Ctrl-F/Ctrl-B implements
          it's own logic to change the topline and cursor.
          In doing so, skipcol is not handled properly for
          'smoothscroll', and virtual lines.
Solution: Re-use the logic from Ctrl-E/Ctrl-Y while staying
          backward compatible as much as possible.

closes: #14268

Signed-off-by: Luuk van Baal <luukvbaal@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Luuk van Baal
2024-03-26 18:46:45 +01:00
committed by Christian Brabandt
parent 9ccc297237
commit b9f5b95b7b
8 changed files with 125 additions and 406 deletions

View File

@ -41554,6 +41554,8 @@ Other improvements *new-other-9.2*
Changed *changed-9.2*
-------
- use 'smoothscroll' logic for CTRL-F and CTRL-B for pagewise scrolling
Added *added-9.2*
-----