Mercurial > vim
comparison src/proto/textprop.pro @ 16714:ba592f30c082 v8.1.1359
patch 8.1.1359: text property wrong after :substitute with backslash
commit https://github.com/vim/vim/commit/f3333b02f34526da46cdae608f7e2d869bb8c654
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 19 22:53:40 2019 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 May 2019 23:00:05 +0200 |
parents | 23af483c4ceb |
children | 0457d49eb2d9 |
comparison
equal
deleted
inserted
replaced
16713:ba3f15a7e5c9 | 16714:ba592f30c082 |
---|---|
11 void f_prop_type_delete(typval_T *argvars, typval_T *rettv); | 11 void f_prop_type_delete(typval_T *argvars, typval_T *rettv); |
12 void f_prop_type_get(typval_T *argvars, typval_T *rettv); | 12 void f_prop_type_get(typval_T *argvars, typval_T *rettv); |
13 void f_prop_type_list(typval_T *argvars, typval_T *rettv); | 13 void f_prop_type_list(typval_T *argvars, typval_T *rettv); |
14 void clear_global_prop_types(void); | 14 void clear_global_prop_types(void); |
15 void clear_buf_prop_types(buf_T *buf); | 15 void clear_buf_prop_types(buf_T *buf); |
16 int adjust_prop_columns(linenr_T lnum, colnr_T col, int bytes_added, int save_for_undo); | 16 int adjust_prop_columns(linenr_T lnum, colnr_T col, int bytes_added, int flags); |
17 void adjust_props_for_split(linenr_T lnum_props, linenr_T lnum_top, int kept, int deleted); | 17 void adjust_props_for_split(linenr_T lnum_props, linenr_T lnum_top, int kept, int deleted); |
18 void adjust_props_for_join(linenr_T lnum, textprop_T **prop_line, int *prop_length, long col, int removed); | 18 void adjust_props_for_join(linenr_T lnum, textprop_T **prop_line, int *prop_length, long col, int removed); |
19 void join_prop_lines(linenr_T lnum, char_u *newp, textprop_T **prop_lines, int *prop_lengths, int count); | 19 void join_prop_lines(linenr_T lnum, char_u *newp, textprop_T **prop_lines, int *prop_lengths, int count); |
20 /* vim: set ft=c : */ | 20 /* vim: set ft=c : */ |