1
0
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:
Bram Moolenaar
2022-08-14 14:17:45 +01:00
parent 28c9f89571
commit a4d158b3c8
64 changed files with 382 additions and 378 deletions

View File

@@ -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