commit | 338dfdad3844ebb1ce1d56c421d1f698c086eb0c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun May 19 15:19:57 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun May 19 15:19:57 2019 +0200 |
tree | 92afa870c4fd44c0de47468149d64c42708c2aa8 | |
parent | dc6855af974f2ef553aceee619fadcb858e25d39 [diff] [blame] |
patch 8.1.1351: text property wrong after :substitute Problem: Text property wrong after :substitute. Solution: Save for undo before changing any text properties.
diff --git a/src/ops.c b/src/ops.c index 480516b..975a56f 100644 --- a/src/ops.c +++ b/src/ops.c
@@ -1937,7 +1937,7 @@ #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 }