Mercurial > vim
comparison src/proto/charset.pro @ 29597:f2d7f20d83c3 v9.0.0139
patch 9.0.0139: truncating virtual text after a line not implemented
Commit: https://github.com/vim/vim/commit/398649ee44edeb309c77361de697320378104b70
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 4 15:03:48 2022 +0100
patch 9.0.0139: truncating virtual text after a line not implemented
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 04 Aug 2022 16:15:08 +0200 |
parents | 5233acfa06f1 |
children | fc0f93590fd4 |
comparison
equal
deleted
inserted
replaced
29596:aea558552904 | 29597:f2d7f20d83c3 |
---|---|
31 int vim_isprintc_strict(int c); | 31 int vim_isprintc_strict(int c); |
32 void init_chartabsize_arg(chartabsize_T *cts, win_T *wp, linenr_T lnum, colnr_T col, char_u *line, char_u *ptr); | 32 void init_chartabsize_arg(chartabsize_T *cts, win_T *wp, linenr_T lnum, colnr_T col, char_u *line, char_u *ptr); |
33 void clear_chartabsize_arg(chartabsize_T *cts); | 33 void clear_chartabsize_arg(chartabsize_T *cts); |
34 int lbr_chartabsize(chartabsize_T *cts); | 34 int lbr_chartabsize(chartabsize_T *cts); |
35 int lbr_chartabsize_adv(chartabsize_T *cts); | 35 int lbr_chartabsize_adv(chartabsize_T *cts); |
36 int textprop_size_after_trunc(win_T *wp, int below, int added, char_u *text, int *n_used_ptr); | |
36 int win_lbr_chartabsize(chartabsize_T *cts, int *headp); | 37 int win_lbr_chartabsize(chartabsize_T *cts, int *headp); |
37 void getvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end); | 38 void getvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end); |
38 colnr_T getvcol_nolist(pos_T *posp); | 39 colnr_T getvcol_nolist(pos_T *posp); |
39 void getvvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end); | 40 void getvvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end); |
40 void getvcols(win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right); | 41 void getvcols(win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right); |