0
0
mirror of https://github.com/vim/vim.git synced 2025-10-07 05:54:16 -04:00

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)
This commit is contained in:
Bram Moolenaar
2018-12-25 23:15:46 +01:00
parent e38197d50f
commit b413d2e6a8
6 changed files with 66 additions and 26 deletions

View File

@@ -799,6 +799,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
636,
/**/
635,
/**/