0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

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

@@ -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
}