diff options
author | Neil <nyamatongwe@gmail.com> | 2016-03-29 15:38:45 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2016-03-29 15:38:45 +1100 |
commit | 0604389a02a2cb5f33f5f84e460ad3d7a55f1fc4 (patch) | |
tree | 80b37f718682eaeb207d6b82b4c6940a8b6e8c11 /src/Editor.cxx | |
parent | b5618916b1164f90254ebb8c6eed2b5f86fdcc12 (diff) | |
download | scintilla-mirror-0604389a02a2cb5f33f5f84e460ad3d7a55f1fc4.tar.gz |
Feature [feature-requests:#1142]. Allow Super modifier on GTK+.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index b480287c3..eddc0e623 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2265,12 +2265,13 @@ void Editor::DelCharBack(bool allowLineStartDeletion) { ShowCaretAtCurrentPosition(); } -int Editor::ModifierFlags(bool shift, bool ctrl, bool alt, bool meta) { +int Editor::ModifierFlags(bool shift, bool ctrl, bool alt, bool meta, bool super) { return (shift ? SCI_SHIFT : 0) | (ctrl ? SCI_CTRL : 0) | (alt ? SCI_ALT : 0) | - (meta ? SCI_META : 0); + (meta ? SCI_META : 0) | + (super ? SCI_SUPER : 0); } void Editor::NotifyFocus(bool focus) { |