]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1277: cursor may move with autocmd in Visual mode v9.0.1277
authorzeertzjq <zeertzjq@outlook.com>
Sat, 4 Feb 2023 10:58:34 +0000 (10:58 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 4 Feb 2023 10:58:34 +0000 (10:58 +0000)
commit49f0524fb575bb1cf4881e472afab7d37c579440
treef00b08a90af6e3c63cd3683d999e7f3b00c1223c
parent4be18e77ff2d9a85d01e9d62335542755b26d5d5
patch 9.0.1277: cursor may move with autocmd in Visual mode

Problem:    Cursor may move with autocmd in Visual mode.
Solution:   Restore "VIsual_active" before calling check_cursor().
            (closes #11939)
src/autocmd.c
src/testdir/test_functions.vim
src/version.c