comparison src/proto/textprop.pro @ 29609:e1c370197030 v9.0.0145

patch 9.0.0145: substitute that joins lines drops text properties Commit: https://github.com/vim/vim/commit/213bbaf15afc628e5f83d1ae6526631ca8292292 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 5 19:46:48 2022 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Fri, 05 Aug 2022 21:00:03 +0200
parents e357bc89bb95
children f1ed6f520d09
comparison
equal deleted inserted replaced
29608:257b2726b2a2 29609:e1c370197030
4 void f_prop_add_list(typval_T *argvars, typval_T *rettv); 4 void f_prop_add_list(typval_T *argvars, typval_T *rettv);
5 int prop_add_common(linenr_T start_lnum, colnr_T start_col, dict_T *dict, buf_T *default_buf, typval_T *dict_arg); 5 int prop_add_common(linenr_T start_lnum, colnr_T start_col, dict_T *dict, buf_T *default_buf, typval_T *dict_arg);
6 int get_text_props(buf_T *buf, linenr_T lnum, char_u **props, int will_change); 6 int get_text_props(buf_T *buf, linenr_T lnum, char_u **props, int will_change);
7 int count_props(linenr_T lnum, int only_starting, int last_line); 7 int count_props(linenr_T lnum, int only_starting, int last_line);
8 int find_visible_prop(win_T *wp, int type_id, int id, textprop_T *prop, linenr_T *found_lnum); 8 int find_visible_prop(win_T *wp, int type_id, int id, textprop_T *prop, linenr_T *found_lnum);
9 void add_text_props(linenr_T lnum, textprop_T *text_props, int text_prop_count);
9 proptype_T *text_prop_type_by_id(buf_T *buf, int id); 10 proptype_T *text_prop_type_by_id(buf_T *buf, int id);
10 void f_prop_clear(typval_T *argvars, typval_T *rettv); 11 void f_prop_clear(typval_T *argvars, typval_T *rettv);
11 void f_prop_find(typval_T *argvars, typval_T *rettv); 12 void f_prop_find(typval_T *argvars, typval_T *rettv);
12 void f_prop_list(typval_T *argvars, typval_T *rettv); 13 void f_prop_list(typval_T *argvars, typval_T *rettv);
13 void f_prop_remove(typval_T *argvars, typval_T *rettv); 14 void f_prop_remove(typval_T *argvars, typval_T *rettv);