From f3333b02f34526da46cdae608f7e2d869bb8c654 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 19 May 2019 22:53:40 +0200 Subject: patch 8.1.1359: text property wrong after :substitute with backslash Problem: Text property wrong after :substitute with backslash. Solution: Adjust text property columns when removing backslashes. (closes #4397) --- src/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/edit.c') diff --git a/src/edit.c b/src/edit.c index be195fc1a..8a008cbfd 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), FALSE); + (int)(len_now - len_before), 0); } #endif } -- cgit v1.2.1