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/ex_cmds.c | |
parent | 28c9f895716cfa8f1220bc41b72a534c0e10cabe (diff) |
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/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index b020d61d08..87a7b50e06 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -1184,7 +1184,7 @@ do_filter( vim_free(cmd_buf); goto error; } - redraw_curbuf_later(VALID); + redraw_curbuf_later(UPD_VALID); } read_linecount = curbuf->b_ml.ml_line_count; @@ -3184,7 +3184,7 @@ do_ecmd( update_topline(); curwin->w_scbind_pos = curwin->w_topline; *so_ptr = n; - redraw_curbuf_later(NOT_VALID); // redraw this buffer later + redraw_curbuf_later(UPD_NOT_VALID); // redraw this buffer later } if (p_im && (State & MODE_INSERT) == 0) @@ -4324,9 +4324,9 @@ ex_substitute(exarg_T *eap) update_topline(); validate_cursor(); - update_screen(SOME_VALID); + update_screen(UPD_SOME_VALID); highlight_match = FALSE; - redraw_later(SOME_VALID); + redraw_later(UPD_SOME_VALID); #ifdef FEAT_FOLDING curwin->w_p_fen = save_p_fen; @@ -5270,7 +5270,7 @@ prepare_tagpreview( popup_hide(wp); // When the popup moves or resizes it may reveal part of // another window. TODO: can this be done more efficiently? - redraw_all_later(NOT_VALID); + redraw_all_later(UPD_NOT_VALID); } } else |