MCPcopy
hub / github.com/csev/py4e / loadMode

Function loadMode

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:1550–1555  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1548 }
1549
1550 function loadMode() {
1551 mode = CodeMirror.getMode(options, options.mode);
1552 doc.iter(0, doc.size, function(line) { line.stateAfter = null; });
1553 work = [0];
1554 startWorker();
1555 }
1556 function gutterChanged() {
1557 var visible = options.gutter || options.lineNumbers;
1558 gutter.style.display = visible ? "" : "none";

Callers 1

CodeMirrorFunction · 0.70

Calls 1

startWorkerFunction · 0.70

Tested by

no test coverage detected