]> granicus.if.org Git - vim/commit
patch 9.0.0900: cursor moves too far with 'smoothscroll' v9.0.0900
authorYee Cheng Chin <ychin.git@gmail.com>
Fri, 18 Nov 2022 12:52:50 +0000 (12:52 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 18 Nov 2022 12:52:50 +0000 (12:52 +0000)
commit81ba26e9de24ca6b1c05b6ec03e53b21793f1a4b
tree095eaea57fd7fe46072b058ea7b5e7efaa982ea4
parent4654d63dec03650825875006c06bb0b0ae43283f
patch 9.0.0900: cursor moves too far with 'smoothscroll'

Problem:    Cursor moves too far with 'smoothscroll'.
Solution:   Only move as far as really needed. (Yee Cheng Chin, closes #11504)
src/move.c
src/testdir/dumps/Test_smooth_long_showbreak_2.dump
src/testdir/dumps/Test_smooth_number_7.dump
src/testdir/dumps/Test_smooth_wrap_5.dump
src/testdir/dumps/Test_smooth_wrap_6.dump [new file with mode: 0644]
src/testdir/test_scroll_opt.vim
src/version.c