]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0211: page-wise scrolling does not support smooth-scrolling v9.1.0211
authorLuuk van Baal <luukvbaal@gmail.com>
Tue, 26 Mar 2024 17:46:45 +0000 (18:46 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 26 Mar 2024 17:53:24 +0000 (18:53 +0100)
commitb9f5b95b7bec2414a5a96010514702d99afea18e
tree50cc5b637071ef1fb210b54f9f141f25a158edee
parent9ccc2972373c8310c20ae7621b9c634d0dc43e26
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>
runtime/doc/options.txt
runtime/doc/version9.txt
src/move.c
src/testdir/test_diffmode.vim
src/testdir/test_edit.vim
src/testdir/test_normal.vim
src/testdir/test_scroll_opt.vim
src/version.c