Mercurial > vim
diff src/vim.h @ 29732:89e1d67814a9 v9.0.0206
patch 9.0.0206: redraw flags are not named specifically
Commit: https://github.com/vim/vim/commit/a4d158b3c839e96ed98ff87c7b7124ff4518c4ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 14 14:17:45 2022 +0100
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().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Aug 2022 15:30:05 +0200 |
parents | e134ff00be57 |
children | 7e2321707fea |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -579,19 +579,19 @@ extern int (*dyn_libintl_wputenv)(const #endif /* - * flags for update_screen() - * The higher the value, the higher the priority + * Flags for update_screen(). + * The higher the value, the higher the priority. */ -#define VALID_NO_UPDATE 5 // no new changes, keep the command line if +#define UPD_VALID_NO_UPDATE 5 // no new changes, keep the command line if // possible -#define VALID 10 // buffer not changed, or changes marked +#define UPD_VALID 10 // buffer not changed, or changes marked // with b_mod_* -#define INVERTED 20 // redisplay inverted part that changed -#define INVERTED_ALL 25 // redisplay whole inverted part -#define REDRAW_TOP 30 // display first w_upd_rows screen lines -#define SOME_VALID 35 // like NOT_VALID but may scroll -#define NOT_VALID 40 // buffer needs complete redraw -#define CLEAR 50 // screen messed up, clear it +#define UPD_INVERTED 20 // redisplay inverted part that changed +#define UPD_INVERTED_ALL 25 // redisplay whole inverted part +#define UPD_REDRAW_TOP 30 // display first w_upd_rows screen lines +#define UPD_SOME_VALID 35 // like UPD_NOT_VALID but may scroll +#define UPD_NOT_VALID 40 // buffer needs complete redraw +#define UPD_CLEAR 50 // screen messed up, clear it // flags for screen_line() #define SLF_RIGHTLEFT 1