0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 9.0.0125: cursor positioned wrong with virtual text after the line

Problem:    Cursor positioned wrong with virtual text after the line.
Solution:   Clear cts_with_trailing.
This commit is contained in:
Bram Moolenaar
2022-08-01 11:17:40 +01:00
parent 101d57b34b
commit 84b247fab7
4 changed files with 10 additions and 3 deletions

View File

@@ -921,6 +921,7 @@ init_chartabsize_arg(
cts->cts_text_prop_count = 0;
cts->cts_has_prop_with_text = FALSE;
cts->cts_cur_text_width = 0;
cts->cts_with_trailing = 0;
if (lnum > 0)
{
char_u *prop_start;