]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0433: Wrong yanking with exclusive selection and ve=all v9.1.0433
authorzeertzjq <zeertzjq@outlook.com>
Thu, 23 May 2024 05:47:55 +0000 (07:47 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 23 May 2024 05:47:55 +0000 (07:47 +0200)
commit701ad50a9efcf0adfe6d787b606c4e4dbd31f26d
treea9f93efb26cf90fe4ea9cbb79d1059d07bd345b2
parentf2d74e3b63e8ba4ed620ae41119929b327c7cfbf
patch 9.1.0433: Wrong yanking with exclusive selection and ve=all

Problem:  Wrong yanking with exclusive selection and virtualedit=all,
          and integer overflow when using getregion() on it.
Solution: Set coladd when decreasing column and 'virtualedit' is active.
          Add more tests for getregion() with 'virtualedit' (zeertzjq).

closes: #14830

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/evalfunc.c
src/normal.c
src/proto/normal.pro
src/testdir/test_visual.vim
src/version.c