forked from aniani/vim
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:
@@ -413,7 +413,7 @@ opFoldRange(
|
||||
emsg(_(e_no_fold_found));
|
||||
// Force a redraw to remove the Visual highlighting.
|
||||
if (had_visual)
|
||||
redraw_curbuf_later(INVERTED);
|
||||
redraw_curbuf_later(UPD_INVERTED);
|
||||
}
|
||||
|
||||
// openFold() {{{2
|
||||
@@ -786,7 +786,7 @@ deleteFold(
|
||||
emsg(_(e_no_fold_found));
|
||||
// Force a redraw to remove the Visual highlighting.
|
||||
if (had_visual)
|
||||
redraw_curbuf_later(INVERTED);
|
||||
redraw_curbuf_later(UPD_INVERTED);
|
||||
}
|
||||
else
|
||||
// Deleting markers may make cursor column invalid.
|
||||
@@ -875,7 +875,7 @@ foldUpdate(win_T *wp, linenr_T top, linenr_T bot)
|
||||
foldUpdateAll(win_T *win)
|
||||
{
|
||||
win->w_foldinvalid = TRUE;
|
||||
redraw_win_later(win, NOT_VALID);
|
||||
redraw_win_later(win, UPD_NOT_VALID);
|
||||
}
|
||||
|
||||
// foldMoveTo() {{{2
|
||||
|
Reference in New Issue
Block a user