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

patch 9.0.0184: virtual text prop highlight continues after truncation

Problem:    Virtual text prop highlight continues after truncation.
Solution:   Recompute the length of attributes.
This commit is contained in:
Bram Moolenaar
2022-08-10 13:39:35 +01:00
parent 52de3a8d39
commit 1d8844aa59
4 changed files with 27 additions and 0 deletions

View File

@@ -1793,6 +1793,7 @@ win_line(
wlv.p_extra = p_extra_free2 = l;
wlv.n_extra = n_used + added;
n_attr_skip = added;
n_attr = mb_charlen(wlv.p_extra);
}
}