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

Function dispatchKeyInner

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

Source from the content-addressed store, hash-verified

7157 }
7158
7159 function dispatchKeyInner(cm, name, e, handle) {
7160 var result = lookupKeyForEditor(cm, name, handle);
7161
7162 if (result == "multi")
7163 { cm.state.keySeq = name; }
7164 if (result == "handled")
7165 { signalLater(cm, "keyHandled", cm, name, e); }
7166
7167 if (result == "handled" || result == "multi") {
7168 e_preventDefault(e);
7169 restartBlink(cm);
7170 }
7171
7172 return !!result
7173 }
7174
7175 // Handle a key from the keydown event.
7176 function handleKeyBinding(cm, e) {

Callers 1

dispatchKeyFunction · 0.85

Calls 4

lookupKeyForEditorFunction · 0.85
signalLaterFunction · 0.85
e_preventDefaultFunction · 0.85
restartBlinkFunction · 0.85

Tested by

no test coverage detected