1
0
forked from aniani/vim

patch 9.0.0709: virtual text "after" not correct with 'nowrap'

Problem:    Virtual text "after" not correct with 'nowrap'.
Solution:   Do not display "after" text prop on the next line when 'wrap' is
            off.
This commit is contained in:
Bram Moolenaar
2022-10-09 21:53:58 +01:00
parent 15b314ffbb
commit f167c7b424
6 changed files with 55 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
/* drawline.c */
int text_prop_position(win_T *wp, textprop_T *tp, int vcol, int *n_extra, char_u **p_extra, int *n_attr, int *n_attr_skip);
int text_prop_position(win_T *wp, textprop_T *tp, int vcol, int scr_col, int *n_extra, char_u **p_extra, int *n_attr, int *n_attr_skip);
int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, int nochange, int number_only);
/* vim: set ft=c : */