0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

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)
This commit is contained in:
Bram Moolenaar
2019-09-14 21:55:51 +02:00
parent 997d42427e
commit 5babc6e858
5 changed files with 36 additions and 0 deletions

View File

@@ -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