From 0c51d2ee4f62116fdfd940289e61110c8281b352 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 22 Aug 2006 00:06:29 +0000 Subject: Basic recognition of the Windows and Context Menu keys as SCK_WIN and SCK_MENU so that these keys don't commands associated with their values ('[' and ']'). SCK_WIN can be mapped on both platforms but if SCK_MENU is mapped on Windows it executes both the mapped command and shows the context menu. Called "Win" and "Menu" in SciTE but only "Win" documented. --- include/Scintilla.h | 2 ++ include/Scintilla.iface | 2 ++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 426c8d4e6..77d1deb28 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -668,6 +668,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCK_ADD 310 #define SCK_SUBTRACT 311 #define SCK_DIVIDE 312 +#define SCK_WIN 313 +#define SCK_MENU 314 #define SCMOD_NORM 0 #define SCMOD_SHIFT 1 #define SCMOD_CTRL 2 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index c3e5b56fe..7010cc342 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1760,6 +1760,8 @@ val SCK_RETURN=13 val SCK_ADD=310 val SCK_SUBTRACT=311 val SCK_DIVIDE=312 +val SCK_WIN=313 +val SCK_MENU=314 enu KeyMod=SCMOD_ val SCMOD_NORM=0 -- cgit v1.2.3