commit | 84b247fab70e9b76539c2a0e24556e7c66126974 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Aug 01 11:17:40 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Aug 01 11:17:40 2022 +0100 |
tree | 6987a9c629a6ca6320a0ee97c01cc4da2bed3955 | |
parent | 101d57b34b72f4fbc7df1b6edfd64c64a6be14fc [diff] [blame] |
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.
diff --git a/src/charset.c b/src/charset.c index e47fd89..a8173c1 100644 --- a/src/charset.c +++ b/src/charset.c
@@ -921,6 +921,7 @@ 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;