0
0
mirror of https://github.com/vim/vim.git synced 2025-10-18 07:54:29 -04:00

patch 9.0.1141: 'cursorcolumn' and 'colorcolumn' wrong after concealing

Problem:    'cursorcolumn' and 'colorcolumn' wrong after concealing and
            wrapping line.
Solution:   Reset "wlv.vcol_off" after each screen line. (Alexey Radkov,
            closes #11777)
This commit is contained in:
Alexey Radkov
2023-01-04 11:15:30 +00:00
committed by Bram Moolenaar
parent 574950dfb1
commit aaa16b0918
5 changed files with 55 additions and 0 deletions

View File

@@ -3893,6 +3893,7 @@ win_line(
wlv_screen_line(wp, &wlv, FALSE);
wlv.col += wlv.boguscols;
wlv.boguscols = 0;
wlv.vcol_off = 0;
#else
wlv_screen_line(wp, &wlv, FALSE);
#endif