Mercurial > vim
comparison src/globals.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 | ddf160d82971 |
children | 3648e74dd523 |
comparison
equal
deleted
inserted
replaced
14423:cd3118af2cfc | 14424:0a69e6e708f9 |
---|---|
776 /* This is where the latest insert/append mode started. In contrast to | 776 /* This is where the latest insert/append mode started. In contrast to |
777 * Insstart, this won't be reset by certain keys and is needed for | 777 * Insstart, this won't be reset by certain keys and is needed for |
778 * op_insert(), to detect correctly where inserting by the user started. */ | 778 * op_insert(), to detect correctly where inserting by the user started. */ |
779 EXTERN pos_T Insstart_orig; | 779 EXTERN pos_T Insstart_orig; |
780 | 780 |
781 #ifdef FEAT_VREPLACE | |
782 /* | 781 /* |
783 * Stuff for VREPLACE mode. | 782 * Stuff for VREPLACE mode. |
784 */ | 783 */ |
785 EXTERN int orig_line_count INIT(= 0); /* Line count when "gR" started */ | 784 EXTERN int orig_line_count INIT(= 0); /* Line count when "gR" started */ |
786 EXTERN int vr_lines_changed INIT(= 0); /* #Lines changed by "gR" so far */ | 785 EXTERN int vr_lines_changed INIT(= 0); /* #Lines changed by "gR" so far */ |
787 #endif | |
788 | 786 |
789 #if defined(FEAT_X11) && defined(FEAT_XCLIPBOARD) | 787 #if defined(FEAT_X11) && defined(FEAT_XCLIPBOARD) |
790 /* argument to SETJMP() for handling X IO errors */ | 788 /* argument to SETJMP() for handling X IO errors */ |
791 EXTERN JMP_BUF x_jump_env; | 789 EXTERN JMP_BUF x_jump_env; |
792 #endif | 790 #endif |