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

Function onBlur

samples/common/codehighlight/codemirror.js:3322–3332  ·  view source on GitHub ↗
(cm, e)

Source from the content-addressed store, hash-verified

3320 restartBlink(cm);
3321 }
3322 function onBlur(cm, e) {
3323 if (cm.state.delayingBlurEvent) { return }
3324
3325 if (cm.state.focused) {
3326 signal(cm, "blur", cm, e);
3327 cm.state.focused = false;
3328 rmClass(cm.display.wrapper, "CodeMirror-focused");
3329 }
3330 clearInterval(cm.display.blinker);
3331 setTimeout(function () { if (!cm.state.focused) { cm.display.shift = false; } }, 150);
3332 }
3333
3334 // Read the actual heights of the rendered lines, and update their
3335 // stored heights to match.

Callers 5

restartBlinkFunction · 0.85
delayBlurEventFunction · 0.85
defineOptionsFunction · 0.85
CodeMirrorFunction · 0.85
registerEventHandlersFunction · 0.85

Calls 2

signalFunction · 0.85
rmClassFunction · 0.85

Tested by

no test coverage detected