]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.1.0636: line2byte() gives wrong values with text properties v8.1.0636
authorBram Moolenaar <Bram@vim.org>
Tue, 25 Dec 2018 22:15:46 +0000 (23:15 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 25 Dec 2018 22:15:46 +0000 (23:15 +0100)
commitb413d2e6a8cc7b1611a41bfa9462b986393ca5fe
treee232491163a792882917c0fb1888d6de9bf9cce8
parente38197d50f7068c4b68043792d283da98e526ec3
patch 8.1.0636: line2byte() gives wrong values with text properties

Problem:    line2byte() gives wrong values with text properties. (Bjorn Linse)
Solution:   Compute byte offsets differently when text properties were added.
            (closes #3718)
src/memline.c
src/proto/textprop.pro
src/structs.h
src/testdir/test_textprop.vim
src/textprop.c
src/version.c