aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2006-08-22 00:06:29 +0000
committernyamatongwe <unknown>2006-08-22 00:06:29 +0000
commit3b2ada7a95cc1f0e990963980ee1e5d67c865e1e (patch)
tree54a6a696533a2b428c6858f893921c0de6e34ca8 /include/Scintilla.h
parentd6ff99188499850e812633922ff240299dda65f1 (diff)
downloadscintilla-mirror-3b2ada7a95cc1f0e990963980ee1e5d67c865e1e.tar.gz
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.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r--include/Scintilla.h2
1 files changed, 2 insertions, 0 deletions
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