]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1828: cursor wrong with virt text before double-width char v9.0.1828
authorzeertzjq <zeertzjq@outlook.com>
Thu, 31 Aug 2023 16:07:30 +0000 (18:07 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 31 Aug 2023 16:07:48 +0000 (18:07 +0200)
commitac2d8815ae7a93c54b07cba76475cfb3f26a3ac6
tree0eb2a55a87e7f98e524b4785f150afeb5242eb08
parente102e44fc6ff6ca648e16a2ad79f71d75afc16c3
patch 9.0.1828: cursor wrong with virt text before double-width char

Problem:  Wrong cursor position with virtual text before double-width
          char at window edge.
Solution: Check for double-width char before adding virtual text size.

closes: #12977

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
src/charset.c
src/testdir/dumps/Test_prop_inserts_text_before_double_width_wrap_1.dump [new file with mode: 0644]
src/testdir/test_textprop.vim
src/version.c