]> granicus.if.org Git - vim/commit
patch 9.0.0671: negative topline using CTRL-Y with 'smoothscroll' and 'diff' v9.0.0671
authorBram Moolenaar <Bram@vim.org>
Thu, 6 Oct 2022 12:09:17 +0000 (13:09 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 6 Oct 2022 12:09:17 +0000 (13:09 +0100)
commit1a58e1d97cfc72e501cbf63ad75f46f1bb4c8da2
tree958cfa487a889da895185024f5deb04a972830f0
parentc9f5f73206272ccad0aa536854debc5f9781978a
patch 9.0.0671: negative topline using CTRL-Y with 'smoothscroll' and 'diff'

Problem:    Negative topline using CTRL-Y with 'smoothscroll' and 'diff'.
            (Ernie Rael)
Solution:   Only use 'smoothscroll' when 'wrap' is set.
src/move.c
src/testdir/dumps/Test_smooth_diff_1.dump [new file with mode: 0644]
src/testdir/test_scroll_opt.vim
src/version.c