diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-04 15:03:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-04 15:03:48 +0100 |
commit | 398649ee44edeb309c77361de697320378104b70 (patch) | |
tree | 37c3367373fc9709b219aecc9fd5271ef4a66041 /src/proto/charset.pro | |
parent | bc49c5f48f89c2d6f4d88ee77f44a11d68293be3 (diff) |
patch 9.0.0139: truncating virtual text after a line not implementedv9.0.0139
Problem: Truncating virtual text after a line not implemented.
Cursor positioning wrong with Newline in the text.
Solution: Implement truncating. Disallow control characters in the text.
(closes #10842)
Diffstat (limited to 'src/proto/charset.pro')
-rw-r--r-- | src/proto/charset.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/charset.pro b/src/proto/charset.pro index ebb548a8c4..307b3ceec9 100644 --- a/src/proto/charset.pro +++ b/src/proto/charset.pro @@ -33,6 +33,7 @@ void init_chartabsize_arg(chartabsize_T *cts, win_T *wp, linenr_T lnum, colnr_T void clear_chartabsize_arg(chartabsize_T *cts); int lbr_chartabsize(chartabsize_T *cts); int lbr_chartabsize_adv(chartabsize_T *cts); +int textprop_size_after_trunc(win_T *wp, int below, int added, char_u *text, int *n_used_ptr); int win_lbr_chartabsize(chartabsize_T *cts, int *headp); void getvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end); colnr_T getvcol_nolist(pos_T *posp); |