forked from aniani/vim
patch 9.0.0993: display errors when adding or removing text property type
Problem: Display errors when adding or removing text property type. Solution: Perform a full redraw. Only use text properties for which the type is defined. (closes #11655)
This commit is contained in:
14
src/move.c
14
src/move.c
@@ -645,6 +645,20 @@ changed_window_setting_win(win_T *wp)
|
||||
redraw_win_later(wp, UPD_NOT_VALID);
|
||||
}
|
||||
|
||||
/*
|
||||
* Call changed_window_setting_win() for every window containing "buf".
|
||||
*/
|
||||
void
|
||||
changed_window_setting_buf(buf_T *buf)
|
||||
{
|
||||
tabpage_T *tp;
|
||||
win_T *wp;
|
||||
|
||||
FOR_ALL_TAB_WINDOWS(tp, wp)
|
||||
if (wp->w_buffer == buf)
|
||||
changed_window_setting_win(wp);
|
||||
}
|
||||
|
||||
/*
|
||||
* Set wp->w_topline to a certain number.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user