diff 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
line wrap: on
line diff
--- a/src/proto/textprop.pro
+++ b/src/proto/textprop.pro
@@ -6,6 +6,7 @@ int prop_add_common(linenr_T start_lnum,
 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);