]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1599: Cursor not adjusted when 'splitkeep' is not "cursor" v9.0.1599
authorLuuk van Baal <luukvbaal@gmail.com>
Fri, 2 Jun 2023 13:16:35 +0000 (14:16 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 2 Jun 2023 13:16:35 +0000 (14:16 +0100)
commita109f39ef54bc3894768170f02c1b6ac56164488
tree2991683d08efbba19c489753c0c606c247860252
parent47eec6716b8621fd43bac8ecc9c19089df26705e
patch 9.0.1599: Cursor not adjusted when 'splitkeep' is not "cursor"

Problem:    Cursor not adjusted when near top or bottom of window and
            'splitkeep' is not "cursor".
Solution:   Move boundary checks to outer cursor move functions, inner
            functions should only return valid cursor positions. (Luuk van
            Baal, closes #12480)
src/edit.c
src/normal.c
src/proto/edit.pro
src/testdir/test_window_cmd.vim
src/version.c
src/window.c