1
0
forked from aniani/vim

patch 8.1.1351: text property wrong after :substitute

Problem:    Text property wrong after :substitute.
Solution:   Save for undo before changing any text properties.
This commit is contained in:
Bram Moolenaar
2019-05-19 15:19:57 +02:00
parent dc6855af97
commit 338dfdad38
9 changed files with 45 additions and 11 deletions

View File

@@ -1937,7 +1937,7 @@ op_delete(oparg_T *oap)
#ifdef FEAT_TEXT_PROP
if (curbuf->b_has_textprop && n != 0)
adjust_prop_columns(lnum, bd.textcol, -n);
adjust_prop_columns(lnum, bd.textcol, -n, FALSE);
#endif
}