Mercurial > vim
comparison src/edit.c @ 32981:2415680a2554 v9.0.1783
commit b557f4898208105b674df605403cac1b1292707b
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue Aug 22 22:07:34 2023 +0200
patch 9.0.1783: Display issues with virt text smoothscroll and showbreak
Problem: Wrong display with wrapping virtual text or unprintable chars,
'showbreak' and 'smoothscroll'.
Solution: Don't skip cells taken by 'showbreak' in screen lines before
"w_skipcol". Combined "n_skip" and "skip_cells".
closes: #12597
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 24 Aug 2023 07:47:10 +0200 |
parents | 695b50472e85 |
children | 9c4ee9389bb4 |
comparison
equal
deleted
inserted
replaced
32964:c7a332a34fe7 | 32981:2415680a2554 |
---|---|
3703 im_set_active(FALSE); | 3703 im_set_active(FALSE); |
3704 #endif | 3704 #endif |
3705 | 3705 |
3706 State = MODE_NORMAL; | 3706 State = MODE_NORMAL; |
3707 may_trigger_modechanged(); | 3707 may_trigger_modechanged(); |
3708 // need to position cursor again when on a TAB | 3708 // need to position cursor again when on a TAB and when on a char with |
3709 if (gchar_cursor() == TAB) | 3709 // virtual text. |
3710 if (gchar_cursor() == TAB | |
3711 #ifdef FEAT_PROP_POPUP | |
3712 || curbuf->b_has_textprop | |
3713 #endif | |
3714 ) | |
3710 curwin->w_valid &= ~(VALID_WROW|VALID_WCOL|VALID_VIRTCOL); | 3715 curwin->w_valid &= ~(VALID_WROW|VALID_WCOL|VALID_VIRTCOL); |
3711 | 3716 |
3712 setmouse(); | 3717 setmouse(); |
3713 #ifdef CURSOR_SHAPE | 3718 #ifdef CURSOR_SHAPE |
3714 ui_cursor_shape(); // may show different cursor shape | 3719 ui_cursor_shape(); // may show different cursor shape |