diff src/screen.c @ 18072:5f1554b2587c v8.1.2031

patch 8.1.2031: cursor position wrong when resizing and using conceal Commit: https://github.com/vim/vim/commit/5babc6e858afbfa54aa0e203a64b9c70175487b7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 14 21:55:51 2019 +0200 patch 8.1.2031: cursor position wrong when resizing and using conceal Problem: Cursor position wrong when resizing and using conceal. Solution: Set the flags that the cursor position is valid when setting the row and column during redrawing. (closes #4931)
author Bram Moolenaar <Bram@vim.org>
date Sat, 14 Sep 2019 22:00:03 +0200
parents 1101eacc1444
children d7f08b7bc203
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -5374,6 +5374,7 @@ win_line(
 		wp->w_wcol = col - boguscols;
 	    wp->w_wrow = row;
 	    did_wcol = TRUE;
+	    curwin->w_valid |= VALID_WCOL|VALID_WROW|VALID_VIRTCOL;
 	}
 #endif