0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0195

This commit is contained in:
Bram Moolenaar
2006-02-09 23:48:02 +00:00
parent 8b6144bdfe
commit cf0c554e3f
3 changed files with 7 additions and 4 deletions

View File

@@ -1534,7 +1534,7 @@ vgetc()
continue; continue;
} }
#endif #endif
#if defined(HAVE_GTK2) && defined(FEAT_MENU) #if defined(FEAT_GUI) && defined(HAVE_GTK2) && defined(FEAT_MENU)
/* GTK: <F10> normally selects the menu, but it's passed until /* GTK: <F10> normally selects the menu, but it's passed until
* here to allow mapping it. Intercept and invoke the GTK * here to allow mapping it. Intercept and invoke the GTK
* behavior if it's not mapped. */ * behavior if it's not mapped. */

View File

@@ -3635,10 +3635,10 @@ add_to_showcmd(c)
int i; int i;
static int ignore[] = static int ignore[] =
{ {
#ifdef FEAT_GUI # ifdef FEAT_GUI
K_VER_SCROLLBAR, K_HOR_SCROLLBAR, K_VER_SCROLLBAR, K_HOR_SCROLLBAR,
K_LEFTMOUSE_NM, K_LEFTRELEASE_NM, K_LEFTMOUSE_NM, K_LEFTRELEASE_NM,
#endif # endif
K_IGNORE, K_IGNORE,
K_LEFTMOUSE, K_LEFTDRAG, K_LEFTRELEASE, K_LEFTMOUSE, K_LEFTDRAG, K_LEFTRELEASE,
K_MIDDLEMOUSE, K_MIDDLEDRAG, K_MIDDLERELEASE, K_MIDDLEMOUSE, K_MIDDLEDRAG, K_MIDDLERELEASE,

View File

@@ -1102,14 +1102,17 @@ enum auto_event
EVENT_WINLEAVE, /* before leaving a window */ EVENT_WINLEAVE, /* before leaving a window */
EVENT_ENCODINGCHANGED, /* after changing the 'encoding' option */ EVENT_ENCODINGCHANGED, /* after changing the 'encoding' option */
EVENT_CURSORHOLD, /* cursor in same position for a while */ EVENT_CURSORHOLD, /* cursor in same position for a while */
EVENT_CURSORHOLDI, /* idem, in Insert mode */
EVENT_FUNCUNDEFINED, /* if calling a function which doesn't exist */ EVENT_FUNCUNDEFINED, /* if calling a function which doesn't exist */
EVENT_REMOTEREPLY, /* upon string reception from a remote vim */ EVENT_REMOTEREPLY, /* upon string reception from a remote vim */
EVENT_SWAPEXISTS, /* found existing swap file */ EVENT_SWAPEXISTS, /* found existing swap file */
EVENT_SPELLFILEMISSING, /* spell file missing */ EVENT_SPELLFILEMISSING, /* spell file missing */
EVENT_CURSORMOVED, /* cursor was moved */
EVENT_CURSORMOVEDI, /* cursor was moved in Insert mode */
NUM_EVENTS /* MUST be the last one */ NUM_EVENTS /* MUST be the last one */
}; };
typedef enum auto_event EVENT_T; typedef enum auto_event event_T;
/* /*
* Values for index in highlight_attr[]. * Values for index in highlight_attr[].