1
0
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:
zeertzjq
2024-04-14 18:52:49 +02:00
committed by Christian Brabandt
parent 3d93630605
commit 05aacec6ab
5 changed files with 31 additions and 0 deletions

View File

@@ -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.
*/