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

Method Find

scintilla/src/KeyMap.cxx:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52unsigned int KeyMap::Find(int key, int modifiers) {
53 for (size_t i = 0; i < kmap.size(); i++) {
54 if ((key == kmap[i].key) && (modifiers == kmap[i].modifiers)) {
55 return kmap[i].msg;
56 }
57 }
58 return 0;
59}
60
61#if PLAT_GTK_MACOSX
62#define OS_X_KEYS 1

Callers 1

KeyDownWithModifiersMethod · 0.45

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected