]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0168: cursor positioned wrong with two virtual text properties v9.0.0168
authorBram Moolenaar <Bram@vim.org>
Mon, 8 Aug 2022 10:07:47 +0000 (11:07 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 8 Aug 2022 10:07:47 +0000 (11:07 +0100)
commit25463610dfc7a4984f70b030463fb98b09772ad9
tree3f0669adf485a5a8b00c48c036ad8a14fcce86de
parent38ea2733b4dd8e9bfc4a5bb5c11cb661bf000c4e
patch 9.0.0168: cursor positioned wrong with two virtual text properties

Problem:    Cursor positioned wrong with two virtual text properties close
            together. (Ben Jackson)
Solution:   Add the original size, not the computed one. (closes #10864)
src/charset.c
src/testdir/dumps/Test_prop_inserts_text_1.dump
src/testdir/dumps/Test_prop_inserts_text_2.dump
src/testdir/dumps/Test_prop_inserts_text_3.dump
src/testdir/dumps/Test_prop_inserts_text_4.dump
src/testdir/dumps/Test_prop_inserts_text_5.dump [new file with mode: 0644]
src/testdir/dumps/Test_prop_inserts_text_6.dump [new file with mode: 0644]
src/testdir/test_textprop.vim
src/version.c