MCPcopy Create free account
hub / github.com/cxasm/notepad-- / KeyDownWithModifiers

Method KeyDownWithModifiers

src/qscint/scintilla/src/Editor.cpp:3916–3928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3914}
3915
3916int Editor::KeyDownWithModifiers(int key, int modifiers, bool *consumed) {
3917 DwellEnd(false);
3918 const int msg = kmap.Find(key, modifiers);
3919 if (msg) {
3920 if (consumed)
3921 *consumed = true;
3922 return static_cast<int>(WndProc(msg, 0, 0));
3923 } else {
3924 if (consumed)
3925 *consumed = false;
3926 return KeyDefault(key, modifiers);
3927 }
3928}
3929
3930void Editor::Indent(bool forwards) {
3931 UndoGroup ug(pdoc);

Callers 1

keyPressEventMethod · 0.80

Calls 1

FindMethod · 0.45

Tested by

no test coverage detected