diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-01 11:17:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-01 11:17:40 +0100 |
commit | 84b247fab70e9b76539c2a0e24556e7c66126974 (patch) | |
tree | 6987a9c629a6ca6320a0ee97c01cc4da2bed3955 /src/charset.c | |
parent | 101d57b34b72f4fbc7df1b6edfd64c64a6be14fc (diff) |
patch 9.0.0125: cursor positioned wrong with virtual text after the linev9.0.0125
Problem: Cursor positioned wrong with virtual text after the line.
Solution: Clear cts_with_trailing.
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/charset.c b/src/charset.c index e47fd89c60..a8173c1246 100644 --- a/src/charset.c +++ b/src/charset.c @@ -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; |