vim-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 vim/vim#4931)
5babc6e858
This commit is contained in:
Jan Edmund Lazo 2020-01-19 09:44:43 -05:00
parent acaf5d233b
commit 58033e15d5
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -3868,6 +3868,7 @@ win_line (
}
wp->w_wrow = row;
did_wcol = true;
curwin->w_valid |= VALID_WCOL|VALID_WROW|VALID_VIRTCOL;
}
// Don't override visual selection highlighting.