diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 9 | ||||
-rw-r--r-- | src/Editor.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index e80ec647b..8e8de16b1 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2358,15 +2358,6 @@ void Editor::DelCharBack(bool allowLineStartDeletion) { ShowCaretAtCurrentPosition(); } -KeyMod Editor::ModifierFlags(bool shift, bool ctrl, bool alt, bool meta, bool super) noexcept { - return - (shift ? KeyMod::Shift : KeyMod::Norm) | - (ctrl ? KeyMod::Ctrl : KeyMod::Norm) | - (alt ? KeyMod::Alt : KeyMod::Norm) | - (meta ? KeyMod::Meta : KeyMod::Norm) | - (super ? KeyMod::Super : KeyMod::Norm); -} - void Editor::NotifyFocus(bool focus) { NotificationData scn = {}; scn.nmhdr.code = focus ? Notification::FocusIn : Notification::FocusOut; diff --git a/src/Editor.h b/src/Editor.h index e96ed391e..a30edff90 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -443,7 +443,6 @@ protected: // ScintillaBase subclass needs access to much of Editor void DelCharBack(bool allowLineStartDeletion); virtual void ClaimSelection() = 0; - static Scintilla::KeyMod ModifierFlags(bool shift, bool ctrl, bool alt, bool meta=false, bool super=false) noexcept; virtual void NotifyChange() = 0; virtual void NotifyFocus(bool focus); virtual void SetCtrlID(int identifier); |