From a4d158b3c839e96ed98ff87c7b7124ff4518c4ff Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 14 Aug 2022 14:17:45 +0100 Subject: 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(). --- src/textobject.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/textobject.c') diff --git a/src/textobject.c b/src/textobject.c index 153c14ddd..41b6a29e3 100644 --- a/src/textobject.c +++ b/src/textobject.c @@ -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 -- cgit v1.2.1