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

Function resetModeState

samples/common/codehighlight/codemirror.js:4692–4701  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

4690 }
4691
4692 function resetModeState(cm) {
4693 cm.doc.iter(function (line) {
4694 if (line.stateAfter) { line.stateAfter = null; }
4695 if (line.styles) { line.styles = null; }
4696 });
4697 cm.doc.modeFrontier = cm.doc.highlightFrontier = cm.doc.first;
4698 startWorker(cm, 100);
4699 cm.state.modeGen++;
4700 if (cm.curOp) { regChange(cm); }
4701 }
4702
4703 // DOCUMENT DATA STRUCTURE
4704

Callers 2

loadModeFunction · 0.85
defineOptionsFunction · 0.85

Calls 2

startWorkerFunction · 0.85
regChangeFunction · 0.85

Tested by

no test coverage detected