(cm, e)
| 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. |
no test coverage detected