MCPcopy Index your code
hub / github.com/csev/py4e / restartBlink

Function restartBlink

tools/pythonauto/static/codemirror/codemirror.js:894–904  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

892
893 // Cursor-blinking
894 function restartBlink(cm) {
895 if (!cm.state.focused) return;
896 var display = cm.display;
897 clearInterval(display.blinker);
898 var on = true;
899 display.cursor.style.visibility = display.otherCursor.style.visibility = "";
900 if (cm.options.cursorBlinkRate > 0)
901 display.blinker = setInterval(function() {
902 display.cursor.style.visibility = display.otherCursor.style.visibility = (on = !on) ? "" : "hidden";
903 }, cm.options.cursorBlinkRate);
904 }
905
906 // HIGHLIGHT WORKER
907

Callers 4

endOperationFunction · 0.70
handleKeyBindingFunction · 0.70
handleCharBindingFunction · 0.70
onFocusFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected