Mercurial > vim
comparison src/vim.h @ 14424:0a69e6e708f9 v8.1.0226
patch 8.1.0226: too many #ifdefs
commit https://github.com/vim/vim/commit/1f0bfe561737cd445532f20d7607a81d1dadddee
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 29 16:09:22 2018 +0200
patch 8.1.0226: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate the +vreplace feature, it's not much code and quite a few
#ifdefs.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 29 Jul 2018 16:15:05 +0200 |
parents | 7cac4646c552 |
children | 3375a8cbb442 |
comparison
equal
deleted
inserted
replaced
14423:cd3118af2cfc | 14424:0a69e6e708f9 |
---|---|
673 #define LANGMAP 0x20 /* Language mapping, can be combined with | 673 #define LANGMAP 0x20 /* Language mapping, can be combined with |
674 INSERT and CMDLINE */ | 674 INSERT and CMDLINE */ |
675 | 675 |
676 #define REPLACE_FLAG 0x40 /* Replace mode flag */ | 676 #define REPLACE_FLAG 0x40 /* Replace mode flag */ |
677 #define REPLACE (REPLACE_FLAG + INSERT) | 677 #define REPLACE (REPLACE_FLAG + INSERT) |
678 #ifdef FEAT_VREPLACE | 678 #define VREPLACE_FLAG 0x80 /* Virtual-replace mode flag */ |
679 # define VREPLACE_FLAG 0x80 /* Virtual-replace mode flag */ | 679 #define VREPLACE (REPLACE_FLAG + VREPLACE_FLAG + INSERT) |
680 # define VREPLACE (REPLACE_FLAG + VREPLACE_FLAG + INSERT) | |
681 #endif | |
682 #define LREPLACE (REPLACE_FLAG + LANGMAP) | 680 #define LREPLACE (REPLACE_FLAG + LANGMAP) |
683 | 681 |
684 #define NORMAL_BUSY (0x100 + NORMAL) /* Normal mode, busy with a command */ | 682 #define NORMAL_BUSY (0x100 + NORMAL) /* Normal mode, busy with a command */ |
685 #define HITRETURN (0x200 + NORMAL) /* waiting for return or command */ | 683 #define HITRETURN (0x200 + NORMAL) /* waiting for return or command */ |
686 #define ASKMORE 0x300 /* Asking if you want --more-- */ | 684 #define ASKMORE 0x300 /* Asking if you want --more-- */ |