mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 9.0.0206: redraw flags are not named specifically
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
This commit is contained in:
@@ -4352,7 +4352,7 @@ qf_win_goto(win_T *win, linenr_T lnum)
|
||||
curwin->w_cursor.coladd = 0;
|
||||
curwin->w_curswant = 0;
|
||||
update_topline(); // scroll to show the line
|
||||
redraw_later(VALID);
|
||||
redraw_later(UPD_VALID);
|
||||
curwin->w_redr_status = TRUE; // update ruler
|
||||
curwin = old_curwin;
|
||||
curbuf = curwin->w_buffer;
|
||||
@@ -4573,7 +4573,7 @@ qf_update_buffer(qf_info_T *qi, qfline_T *old_last)
|
||||
// Only redraw when added lines are visible. This avoids flickering
|
||||
// when the added lines are not visible.
|
||||
if ((win = qf_find_win(qi)) != NULL && old_line_count < win->w_botline)
|
||||
redraw_buf_later(buf, NOT_VALID);
|
||||
redraw_buf_later(buf, UPD_NOT_VALID);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4827,7 +4827,7 @@ qf_fill_buffer(qf_list_T *qfl, buf_T *buf, qfline_T *old_last, int qf_winid)
|
||||
--curbuf_lock;
|
||||
|
||||
// make sure it will be redrawn
|
||||
redraw_curbuf_later(NOT_VALID);
|
||||
redraw_curbuf_later(UPD_NOT_VALID);
|
||||
}
|
||||
|
||||
// Restore KeyTyped, setting 'filetype' may reset it.
|
||||
@@ -6468,7 +6468,7 @@ ex_vimgrep(exarg_T *eap)
|
||||
#ifdef FEAT_FOLDING
|
||||
foldUpdateAll(curwin);
|
||||
#else
|
||||
redraw_later(NOT_VALID);
|
||||
redraw_later(UPD_NOT_VALID);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user