Mercurial > vim
comparison src/gui.c @ 5735:50dbef5e774a v7.4.212
updated for version 7.4.212
Problem: Now that the +visual feature is always enabled the #ifdefs for it
are not useful.
Solution: Remove the checks for FEAT_VISUAL.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 23 Mar 2014 15:13:05 +0100 |
parents | cf52d2a8c05c |
children | 286fd54c7ae3 |
comparison
equal
deleted
inserted
replaced
5734:657ade71d395 | 5735:50dbef5e774a |
---|---|
3130 * Exception: On the command line, both the selection is used and a mouse | 3130 * Exception: On the command line, both the selection is used and a mouse |
3131 * key is send. | 3131 * key is send. |
3132 */ | 3132 */ |
3133 if (!mouse_has(checkfor) || checkfor == MOUSE_COMMAND) | 3133 if (!mouse_has(checkfor) || checkfor == MOUSE_COMMAND) |
3134 { | 3134 { |
3135 #ifdef FEAT_VISUAL | |
3136 /* Don't do modeless selection in Visual mode. */ | 3135 /* Don't do modeless selection in Visual mode. */ |
3137 if (checkfor != MOUSE_NONEF && VIsual_active && (State & NORMAL)) | 3136 if (checkfor != MOUSE_NONEF && VIsual_active && (State & NORMAL)) |
3138 return; | 3137 return; |
3139 #endif | |
3140 | 3138 |
3141 /* | 3139 /* |
3142 * When 'mousemodel' is "popup", shift-left is translated to right. | 3140 * When 'mousemodel' is "popup", shift-left is translated to right. |
3143 * But not when also using Ctrl. | 3141 * But not when also using Ctrl. |
3144 */ | 3142 */ |