]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3348: line2byte() returns wrong value after adding textprop v8.2.3348
authorBram Moolenaar <Bram@vim.org>
Sun, 15 Aug 2021 12:28:40 +0000 (14:28 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 15 Aug 2021 12:28:40 +0000 (14:28 +0200)
commit14c7530c4fca786d3594508e28943f10125827c3
treeab8ac44d9993a366a363f799d7beefcd92bcf4da
parentdd9de50f4262898384be6ea7694d05507c7cb260
patch 8.2.3348: line2byte() returns wrong value after adding textprop

Problem:    line2byte() returns wrong value after adding textprop. (Yuto
            Kimura)
Solution:   Reduce the length by the size of the text property. (closes #8759)
src/memline.c
src/testdir/test_textprop.vim
src/version.c