MCPcopy
hub / github.com/witheve/Eve / lookupKeyForEditor

Function lookupKeyForEditor

src/codemirror.js:4119–4126  ·  view source on GitHub ↗
(cm, name, handle)

Source from the content-addressed store, hash-verified

4117 }
4118
4119 function lookupKeyForEditor(cm, name, handle) {
4120 for (var i = 0; i < cm.state.keyMaps.length; i++) {
4121 var result = lookupKey(name, cm.state.keyMaps[i], handle, cm);
4122 if (result) return result;
4123 }
4124 return (cm.options.extraKeys && lookupKey(name, cm.options.extraKeys, handle, cm))
4125 || lookupKey(name, cm.options.keyMap, handle, cm);
4126 }
4127
4128 var stopSeq = new Delayed;
4129 function dispatchKey(cm, name, e, handle) {

Callers 1

dispatchKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected