summaryrefslogtreecommitdiff
path: root/src/textobject.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-14 14:17:45 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-14 14:17:45 +0100
commita4d158b3c839e96ed98ff87c7b7124ff4518c4ff (patch)
tree42d3a6b65d4ae53a6e078c8f24a5ee9960e3ad24 /src/textobject.c
parent28c9f895716cfa8f1220bc41b72a534c0e10cabe (diff)
downloadvim-git-a4d158b3c839e96ed98ff87c7b7124ff4518c4ff.tar.gz
patch 9.0.0206: redraw flags are not named specificallyv9.0.0206
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
Diffstat (limited to 'src/textobject.c')
-rw-r--r--src/textobject.c12
1 files changed, 6 insertions, 6 deletions
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