summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-19 15:19:57 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-19 15:19:57 +0200
commit338dfdad3844ebb1ce1d56c421d1f698c086eb0c (patch)
tree92afa870c4fd44c0de47468149d64c42708c2aa8 /src/edit.c
parentdc6855af974f2ef553aceee619fadcb858e25d39 (diff)
downloadvim-git-338dfdad3844ebb1ce1d56c421d1f698c086eb0c.tar.gz
patch 8.1.1351: text property wrong after :substitutev8.1.1351
Problem: Text property wrong after :substitute. Solution: Save for undo before changing any text properties.
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 483ef4abc..be195fc1a 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -4104,7 +4104,7 @@ replace_do_bs(int limit_col)
--text_prop_frozen;
adjust_prop_columns(curwin->w_cursor.lnum, curwin->w_cursor.col,
- (int)(len_now - len_before));
+ (int)(len_now - len_before), FALSE);
}
#endif
}