diff src/charset.c @ 29568:8f71840ecf07 v9.0.0125

patch 9.0.0125: cursor positioned wrong with virtual text after the line Commit: https://github.com/vim/vim/commit/84b247fab70e9b76539c2a0e24556e7c66126974 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 1 11:17:40 2022 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 Aug 2022 12:30:05 +0200
parents 7234ae4e0158
children 24f01baa27b2
line wrap: on
line diff
--- 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;