forked from aniani/vim
patch 9.1.0320: Wrong cursor position after using setcellwidths()
Problem: Wrong cursor position after using setcellwidths().
Solution: Invalidate cursor position in addition to redrawing.
(zeertzjq)
closes: #14545
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
3d93630605
commit
05aacec6ab
13
src/move.c
13
src/move.c
@@ -677,6 +677,19 @@ changed_window_setting_buf(buf_T *buf)
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Call changed_window_setting_win() for every window.
|
||||
*/
|
||||
void
|
||||
changed_window_setting_all(void)
|
||||
{
|
||||
tabpage_T *tp;
|
||||
win_T *wp;
|
||||
|
||||
FOR_ALL_TAB_WINDOWS(tp, wp)
|
||||
changed_window_setting_win(wp);
|
||||
}
|
||||
|
||||
/*
|
||||
* Set wp->w_topline to a certain number.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user