]> granicus.if.org Git - vim/commit
patch 9.0.0640: cannot scroll by screen line if a line wraps v9.0.0640
authorBram Moolenaar <Bram@vim.org>
Sun, 2 Oct 2022 20:29:55 +0000 (21:29 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 2 Oct 2022 20:29:55 +0000 (21:29 +0100)
commitf6196f424474e2a9c160f2a995fc2691f82b58f9
treeba662de7c6737ae250b30a08b1ba126ec94481aa
parentff85d4a1076dc7d6fc3102f6560df3ad1af696ae
patch 9.0.0640: cannot scroll by screen line if a line wraps

Problem:    Cannot scroll by screen line if a line wraps.
Solution:   Add the 'smoothscroll' option.  Only works for CTRL-E and CTRL-Y
            so far.
18 files changed:
runtime/doc/options.txt
runtime/doc/quickref.txt
runtime/optwin.vim
src/drawline.c
src/move.c
src/option.c
src/optiondefs.h
src/structs.h
src/testdir/dumps/Test_smoothscroll_1.dump [new file with mode: 0644]
src/testdir/dumps/Test_smoothscroll_2.dump [new file with mode: 0644]
src/testdir/dumps/Test_smoothscroll_3.dump [new file with mode: 0644]
src/testdir/dumps/Test_smoothscroll_4.dump [new file with mode: 0644]
src/testdir/dumps/Test_smoothscroll_5.dump [new file with mode: 0644]
src/testdir/dumps/Test_smoothscroll_6.dump [new file with mode: 0644]
src/testdir/dumps/Test_smoothscroll_7.dump [new file with mode: 0644]
src/testdir/dumps/Test_smoothscroll_8.dump [new file with mode: 0644]
src/testdir/test_scroll_opt.vim
src/version.c