]> granicus.if.org Git - vim/commit
patch 8.2.4996: setbufline() may change Visual selection v8.2.4996
authorBram Moolenaar <Bram@vim.org>
Sun, 22 May 2022 10:59:25 +0000 (11:59 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 22 May 2022 10:59:25 +0000 (11:59 +0100)
commit0ad00a7fd3e0389f565876521e395c35144d8009
tree521ecf9cc1dd52b5d3f5703b1014cb06b33154f3
parentdafef51b1cbe8aa836c4cfa52623f775bd85a190
patch 8.2.4996: setbufline() may change Visual selection

Problem:    setbufline() may change Visual selection. (Qiming Zhao)
Solution:   Disable Visual mode when using another buffer. (closes #10466)
src/evalbuffer.c
src/testdir/test_bufline.vim
src/version.c