]> granicus.if.org Git - vim/commit
patch 9.0.1077: can add text property with negative ID before virtual text v9.0.1077
authorBram Moolenaar <Bram@vim.org>
Mon, 19 Dec 2022 13:31:06 +0000 (13:31 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 19 Dec 2022 13:31:06 +0000 (13:31 +0000)
commit4ce1f99a2d58b809ab5a5c602bd031426f8527e8
tree557dfdf60433feee20ea24ae7fc8fbde67e26c59
parent8efdcee02ed02cf9e51e1757441715c2479757ee
patch 9.0.1077: can add text property with negative ID before virtual text

Problem:    Can add text property with negative ID before virtual text
            property.
Solution:   Remember that a text property with a negative ID was used and give
            an appropriate error message. (closes #11725)
            Fix index computation.
src/charset.c
src/errors.h
src/testdir/dumps/Test_prop_negative_error_1.dump [new file with mode: 0644]
src/testdir/dumps/Test_prop_negative_error_2.dump [new file with mode: 0644]
src/testdir/test_textprop.vim
src/textprop.c
src/version.c