diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-17 19:56:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-17 19:56:34 +0200 |
commit | 80e737cc6ab6b68948f6765348b6881be861b200 (patch) | |
tree | 695802f3be12c07911c64618e8bb8978367b1469 /src/proto/textprop.pro | |
parent | bfd451283f8c37926f4b0aa22b74b534bd84e482 (diff) | |
download | vim-git-80e737cc6ab6b68948f6765348b6881be861b200.tar.gz |
patch 8.1.1341: text properties are lost when joining linesv8.1.1341
Problem: Text properties are lost when joining lines.
Solution: Move the text properties to the joined line.
Diffstat (limited to 'src/proto/textprop.pro')
-rw-r--r-- | src/proto/textprop.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/textprop.pro b/src/proto/textprop.pro index 6d9553e28..4d37174ae 100644 --- a/src/proto/textprop.pro +++ b/src/proto/textprop.pro @@ -15,4 +15,6 @@ void clear_global_prop_types(void); void clear_buf_prop_types(buf_T *buf); void adjust_prop_columns(linenr_T lnum, colnr_T col, int bytes_added); 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); /* vim: set ft=c : */ |