]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1922: Wrong virtcol('$') with virtual text at EOL v9.1.1922
authorzeertzjq <zeertzjq@outlook.com>
Thu, 20 Nov 2025 20:35:12 +0000 (20:35 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 20 Nov 2025 20:35:12 +0000 (20:35 +0000)
commitd434f6c2a571e1fda0582986c28a488e1dce8fff
tree9b0811654c2e0bacd381c8cc251efbd27e509fa6
parent6aac7062321ae73efad0e0436f6adaaa52209b94
patch 9.1.1922: Wrong virtcol('$') with virtual text at EOL

Problem:  Wrong virtcol('$') with virtual text at EOL (rickhowe).
Solution: Also add 1 to end virtcol when there is virtual text.
          (zeertzjq)

fixes: #18761
closes: #18762

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/charset.c
src/testdir/test_textprop.vim
src/version.c