diff options
| author | Kacper Kasper <unknown> | 2018-08-29 08:08:42 +1000 | 
|---|---|---|
| committer | Kacper Kasper <unknown> | 2018-08-29 08:08:42 +1000 | 
| commit | a52b980b2ddeda48f17b07adc898ac7a28a11c15 (patch) | |
| tree | e4c1da9420bd7bf80f5d066a2de34deddbaf3305 /src/KeyMap.cxx | |
| parent | df064f0417852ef3432dd46c873b0b6d4e9cfc1c (diff) | |
| download | scintilla-mirror-a52b980b2ddeda48f17b07adc898ac7a28a11c15.tar.gz | |
Allow read access to the key map.
Required on Haiku to set up key bindings that include the Cmd modifier.
Diffstat (limited to 'src/KeyMap.cxx')
| -rw-r--r-- | src/KeyMap.cxx | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx index 55f690f07..d7f87a5d9 100644 --- a/src/KeyMap.cxx +++ b/src/KeyMap.cxx @@ -46,6 +46,10 @@ unsigned int KeyMap::Find(int key, int modifiers) const {  	return (it == kmap.end()) ? 0 : it->second;  } +const std::map<KeyModifiers, unsigned int> &KeyMap::GetKeyMap() const { +	return kmap; +} +  #if PLAT_GTK_MACOSX  #define OS_X_KEYS 1  #else | 
