diff options
Diffstat (limited to 'src/KeyMap.h')
-rw-r--r-- | src/KeyMap.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/KeyMap.h b/src/KeyMap.h index ad50f1a0e..8232b7160 100644 --- a/src/KeyMap.h +++ b/src/KeyMap.h @@ -1,5 +1,7 @@ // Scintilla source code edit control -// KeyMap.h - defines a mapping between keystrokes and commands +/** @file KeyMap.h + ** Defines a mapping between keystrokes and commands. + **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. @@ -13,6 +15,8 @@ #define SCI_CSHIFT (SCI_CTRL | SCI_SHIFT) #define SCI_ASHIFT (SCI_ALT | SCI_SHIFT) +/** + */ class KeyToCommand { public: int key; @@ -20,11 +24,14 @@ public: unsigned int msg; }; +/** + */ class KeyMap { KeyToCommand *kmap; int len; int alloc; static KeyToCommand MapDefault[]; + public: KeyMap(); ~KeyMap(); |