forked from aniani/vim
patch 9.0.0145: substitute that joins lines drops text properties
Problem: Substitute that joins lines drops text properties. Solution: Move text properties of the last line to the new line.
This commit is contained in:
@@ -6,6 +6,7 @@ int prop_add_common(linenr_T start_lnum, colnr_T start_col, dict_T *dict, buf_T
|
||||
int get_text_props(buf_T *buf, linenr_T lnum, char_u **props, int will_change);
|
||||
int count_props(linenr_T lnum, int only_starting, int last_line);
|
||||
int find_visible_prop(win_T *wp, int type_id, int id, textprop_T *prop, linenr_T *found_lnum);
|
||||
void add_text_props(linenr_T lnum, textprop_T *text_props, int text_prop_count);
|
||||
proptype_T *text_prop_type_by_id(buf_T *buf, int id);
|
||||
void f_prop_clear(typval_T *argvars, typval_T *rettv);
|
||||
void f_prop_find(typval_T *argvars, typval_T *rettv);
|
||||
|
||||
Reference in New Issue
Block a user