comparison src/gui.c @ 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 4cb334816bb1
children aab5947be7c5
comparison
equal deleted inserted replaced
14423:cd3118af2cfc 14424:0a69e6e708f9
3179 case NORMAL: checkfor = MOUSE_NORMAL; break; 3179 case NORMAL: checkfor = MOUSE_NORMAL; break;
3180 case VISUAL: checkfor = MOUSE_VISUAL; break; 3180 case VISUAL: checkfor = MOUSE_VISUAL; break;
3181 case SELECTMODE: checkfor = MOUSE_VISUAL; break; 3181 case SELECTMODE: checkfor = MOUSE_VISUAL; break;
3182 case REPLACE: 3182 case REPLACE:
3183 case REPLACE+LANGMAP: 3183 case REPLACE+LANGMAP:
3184 # ifdef FEAT_VREPLACE
3185 case VREPLACE: 3184 case VREPLACE:
3186 case VREPLACE+LANGMAP: 3185 case VREPLACE+LANGMAP:
3187 # endif
3188 case INSERT: 3186 case INSERT:
3189 case INSERT+LANGMAP: checkfor = MOUSE_INSERT; break; 3187 case INSERT+LANGMAP: checkfor = MOUSE_INSERT; break;
3190 case ASKMORE: 3188 case ASKMORE:
3191 case HITRETURN: /* At the more- and hit-enter prompt pass the 3189 case HITRETURN: /* At the more- and hit-enter prompt pass the
3192 mouse event for a click on or below the 3190 mouse event for a click on or below the