]> granicus.if.org Git - vim/commit
patch 9.0.0734: cursor position invalid when scrolling with 'smoothscroll' v9.0.0734
authorBram Moolenaar <Bram@vim.org>
Wed, 12 Oct 2022 18:53:38 +0000 (19:53 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 12 Oct 2022 18:53:38 +0000 (19:53 +0100)
commit2fbabd238a94022c99506e920186a5b6cdf15426
tree2806a67322331d156506ae687731077b432ba3ac
parent84d14ccdb50dc9f362066a2c83bfaf331314e5ea
patch 9.0.0734: cursor position invalid when scrolling with 'smoothscroll'

Problem:    Cursor position invalid when scrolling with 'smoothscroll' set.
            (Ernie Rael)
Solution:   Add w_valid_skipcol and clear flags when it changes.  Adjust
            w_skipcol after moving the cursor.
src/edit.c
src/move.c
src/normal.c
src/proto/move.pro
src/structs.h
src/testdir/dumps/Test_smooth_long_8.dump
src/testdir/dumps/Test_smooth_long_9.dump
src/testdir/dumps/Test_smooth_one_long_1.dump [new file with mode: 0644]
src/testdir/dumps/Test_smooth_one_long_2.dump [new file with mode: 0644]
src/testdir/test_scroll_opt.vim
src/version.c