diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-19 22:53:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-19 22:53:40 +0200 |
commit | f3333b02f34526da46cdae608f7e2d869bb8c654 (patch) | |
tree | be05ce3393cee6644f8755f59dcdf4b3694dbc33 /src/proto | |
parent | 386b43e59498cc7b52a60f09f74bdb44df99386c (diff) | |
download | vim-git-f3333b02f34526da46cdae608f7e2d869bb8c654.tar.gz |
patch 8.1.1359: text property wrong after :substitute with backslashv8.1.1359
Problem: Text property wrong after :substitute with backslash.
Solution: Adjust text property columns when removing backslashes.
(closes #4397)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/textprop.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/textprop.pro b/src/proto/textprop.pro index 0114b4fad..1301f31a5 100644 --- a/src/proto/textprop.pro +++ b/src/proto/textprop.pro @@ -13,7 +13,7 @@ void f_prop_type_get(typval_T *argvars, typval_T *rettv); void f_prop_type_list(typval_T *argvars, typval_T *rettv); void clear_global_prop_types(void); void clear_buf_prop_types(buf_T *buf); -int adjust_prop_columns(linenr_T lnum, colnr_T col, int bytes_added, int save_for_undo); +int adjust_prop_columns(linenr_T lnum, colnr_T col, int bytes_added, int flags); void adjust_props_for_split(linenr_T lnum_props, linenr_T lnum_top, int kept, int deleted); void adjust_props_for_join(linenr_T lnum, textprop_T **prop_line, int *prop_length, long col, int removed); void join_prop_lines(linenr_T lnum, char_u *newp, textprop_T **prop_lines, int *prop_lengths, int count); |