diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-14 14:17:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-14 14:17:45 +0100 |
commit | a4d158b3c839e96ed98ff87c7b7124ff4518c4ff (patch) | |
tree | 42d3a6b65d4ae53a6e078c8f24a5ee9960e3ad24 /src/textformat.c | |
parent | 28c9f895716cfa8f1220bc41b72a534c0e10cabe (diff) | |
download | vim-git-9.0.0206.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/textformat.c')
-rw-r--r-- | src/textformat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/textformat.c b/src/textformat.c index eee68f502..36c69450c 100644 --- a/src/textformat.c +++ b/src/textformat.c @@ -461,7 +461,7 @@ internal_format( if (!format_only && haveto_redraw) { update_topline(); - redraw_curbuf_later(VALID); + redraw_curbuf_later(UPD_VALID); } } @@ -840,7 +840,7 @@ op_format( if (oap->is_VIsual) // When there is no change: need to remove the Visual selection - redraw_curbuf_later(INVERTED); + redraw_curbuf_later(UPD_INVERTED); if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) // Set '[ mark at the start of the formatted area @@ -903,7 +903,7 @@ op_formatexpr(oparg_T *oap) { if (oap->is_VIsual) // When there is no change: need to remove the Visual selection - redraw_curbuf_later(INVERTED); + redraw_curbuf_later(UPD_INVERTED); if (fex_format(oap->start.lnum, oap->line_count, NUL) != 0) // As documented: when 'formatexpr' returns non-zero fall back to |