MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / KeyDownWithModifiers

Method KeyDownWithModifiers

scintilla/src/Editor.cxx:5825–5840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5823}
5824
5825int Editor::KeyDownWithModifiers ( int key, int modifiers, bool *consumed )
5826{
5827 DwellEnd ( false );
5828 int msg = kmap.Find ( key, modifiers );
5829 if ( msg ) {
5830 if ( consumed ) {
5831 *consumed = true;
5832 }
5833 return WndProc ( msg, 0, 0 );
5834 } else {
5835 if ( consumed ) {
5836 *consumed = false;
5837 }
5838 return KeyDefault ( key, modifiers );
5839 }
5840}
5841
5842int Editor::KeyDown ( int key, bool shift, bool ctrl, bool alt, bool *consumed )
5843{

Callers

nothing calls this directly

Calls 1

FindMethod · 0.45

Tested by

no test coverage detected