MCPcopy Index your code
hub / github.com/DHTMLX/gantt / lookupKeyForEditor

Function lookupKeyForEditor

samples/common/codehighlight/codemirror.js:7127–7134  ·  view source on GitHub ↗
(cm, name, handle)

Source from the content-addressed store, hash-verified

7125 }
7126
7127 function lookupKeyForEditor(cm, name, handle) {
7128 for (var i = 0; i < cm.state.keyMaps.length; i++) {
7129 var result = lookupKey(name, cm.state.keyMaps[i], handle, cm);
7130 if (result) { return result }
7131 }
7132 return (cm.options.extraKeys && lookupKey(name, cm.options.extraKeys, handle, cm))
7133 || lookupKey(name, cm.options.keyMap, handle, cm)
7134 }
7135
7136 // Note that, despite the name, this function is also used to check
7137 // for bound mouse clicks.

Callers 1

dispatchKeyInnerFunction · 0.85

Calls 1

lookupKeyFunction · 0.85

Tested by

no test coverage detected