Mercurial > vim
comparison src/version.c @ 15255:19e79a1ed6b6 v8.1.0636
patch 8.1.0636: line2byte() gives wrong values with text properties
commit https://github.com/vim/vim/commit/b413d2e6a8cc7b1611a41bfa9462b986393ca5fe
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 25 23:15:46 2018 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 25 Dec 2018 23:30:07 +0100 |
parents | 8d7a3fd70ff4 |
children | 31639f035d76 |
comparison
equal
deleted
inserted
replaced
15254:7790044a7348 | 15255:19e79a1ed6b6 |
---|---|
797 NULL | 797 NULL |
798 }; | 798 }; |
799 | 799 |
800 static int included_patches[] = | 800 static int included_patches[] = |
801 { /* Add new patch number below this line */ | 801 { /* Add new patch number below this line */ |
802 /**/ | |
803 636, | |
802 /**/ | 804 /**/ |
803 635, | 805 635, |
804 /**/ | 806 /**/ |
805 634, | 807 634, |
806 /**/ | 808 /**/ |