]> granicus.if.org Git - vim/commit
patch 9.0.0439: cursor wrong if inserting before line with virtual text above v9.0.0439
authorBram Moolenaar <Bram@vim.org>
Sat, 10 Sep 2022 21:32:14 +0000 (22:32 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 10 Sep 2022 21:32:14 +0000 (22:32 +0100)
commit88b79cb7d47e2e1fee1baf4016c50b861e6b21c4
tree7d17b0fa0635124fca3ff7bbe986452142f630d9
parent04e0ed1ddf399d609dbcb7dbf19e531da1fe6172
patch 9.0.0439: cursor wrong if inserting before line with virtual text above

Problem:    Cursor wrong if inserting before line with virtual text above.
Solution:   Add the width of the "above" virtual text to the cursor position.
            (issue #11084)
src/charset.c
src/testdir/dumps/Test_prop_with_text_above_2.dump [new file with mode: 0644]
src/testdir/dumps/Test_prop_with_text_above_3.dump [new file with mode: 0644]
src/testdir/test_textprop.vim
src/version.c