Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
29731:df7f360215b7 | 29732:89e1d67814a9 |
---|---|
577 # endif | 577 # endif |
578 # define textdomain(x) // empty | 578 # define textdomain(x) // empty |
579 #endif | 579 #endif |
580 | 580 |
581 /* | 581 /* |
582 * flags for update_screen() | 582 * Flags for update_screen(). |
583 * The higher the value, the higher the priority | 583 * The higher the value, the higher the priority. |
584 */ | 584 */ |
585 #define VALID_NO_UPDATE 5 // no new changes, keep the command line if | 585 #define UPD_VALID_NO_UPDATE 5 // no new changes, keep the command line if |
586 // possible | 586 // possible |
587 #define VALID 10 // buffer not changed, or changes marked | 587 #define UPD_VALID 10 // buffer not changed, or changes marked |
588 // with b_mod_* | 588 // with b_mod_* |
589 #define INVERTED 20 // redisplay inverted part that changed | 589 #define UPD_INVERTED 20 // redisplay inverted part that changed |
590 #define INVERTED_ALL 25 // redisplay whole inverted part | 590 #define UPD_INVERTED_ALL 25 // redisplay whole inverted part |
591 #define REDRAW_TOP 30 // display first w_upd_rows screen lines | 591 #define UPD_REDRAW_TOP 30 // display first w_upd_rows screen lines |
592 #define SOME_VALID 35 // like NOT_VALID but may scroll | 592 #define UPD_SOME_VALID 35 // like UPD_NOT_VALID but may scroll |
593 #define NOT_VALID 40 // buffer needs complete redraw | 593 #define UPD_NOT_VALID 40 // buffer needs complete redraw |
594 #define CLEAR 50 // screen messed up, clear it | 594 #define UPD_CLEAR 50 // screen messed up, clear it |
595 | 595 |
596 // flags for screen_line() | 596 // flags for screen_line() |
597 #define SLF_RIGHTLEFT 1 | 597 #define SLF_RIGHTLEFT 1 |
598 #define SLF_POPUP 2 | 598 #define SLF_POPUP 2 |
599 | 599 |