0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -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:
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

@@ -740,7 +740,7 @@ current_word(
{
// should do something when inclusive == FALSE !
VIsual = start_pos;
redraw_curbuf_later(INVERTED); // update the inversion
redraw_curbuf_later(UPD_INVERTED); // update the inversion
}
else
{
@@ -1010,7 +1010,7 @@ extend:
VIsual = start_pos;
VIsual_mode = 'v';
redraw_cmdline = TRUE; // show mode later
redraw_curbuf_later(INVERTED); // update the inversion
redraw_curbuf_later(UPD_INVERTED); // update the inversion
}
else
{
@@ -1167,7 +1167,7 @@ current_block(
inc(&curwin->w_cursor); // include the line break
VIsual = start_pos;
VIsual_mode = 'v';
redraw_curbuf_later(INVERTED); // update the inversion
redraw_curbuf_later(UPD_INVERTED); // update the inversion
showmode();
}
else
@@ -1447,7 +1447,7 @@ again:
inc_cursor();
VIsual = start_pos;
VIsual_mode = 'v';
redraw_curbuf_later(INVERTED); // update the inversion
redraw_curbuf_later(UPD_INVERTED); // update the inversion
showmode();
}
else
@@ -1630,7 +1630,7 @@ extend:
VIsual.col = 0;
}
VIsual_mode = 'V';
redraw_curbuf_later(INVERTED); // update the inversion
redraw_curbuf_later(UPD_INVERTED); // update the inversion
showmode();
}
else
@@ -1933,7 +1933,7 @@ current_quote(
|| line[VIsual.col - 1] != quotechar)))))
{
VIsual = curwin->w_cursor;
redraw_curbuf_later(INVERTED);
redraw_curbuf_later(UPD_INVERTED);
}
}
else