0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.1019: 'smoothscroll' and virtual text above don't work together

Problem:    'smoothscroll' and virtual text above don't work together.
            (Yee Cheng Chin)
Solution:   Skip virtual text above when w_skipcol is non-zero.
            (closes #11665)
This commit is contained in:
Bram Moolenaar
2022-12-06 14:17:57 +00:00
parent 7155fb6614
commit 56a40fea9c
21 changed files with 229 additions and 40 deletions

View File

@@ -1195,7 +1195,7 @@ win_lbr_chartabsize(
cells = text_prop_position(wp, tp, vcol,
(vcol + size) % (wp->w_width - col_off) + col_off,
&n_extra, &p, NULL, NULL);
&n_extra, &p, NULL, NULL, FALSE);
#ifdef FEAT_LINEBREAK
no_sbr = TRUE; // don't use 'showbreak' now
#endif