MCPcopy
hub / github.com/witheve/Eve / startWorker

Function startWorker

src/codemirror.js:2440–2443  ·  view source on GitHub ↗
(cm, time)

Source from the content-addressed store, hash-verified

2438 // HIGHLIGHT WORKER
2439
2440 function startWorker(cm, time) {
2441 if (cm.doc.mode.startState && cm.doc.frontier < cm.display.viewTo)
2442 cm.state.highlight.set(time, bind(highlightWorker, cm));
2443 }
2444
2445 function highlightWorker(cm) {
2446 var doc = cm.doc;

Callers 5

resetModeStateFunction · 0.85
updateDisplayIfNeededFunction · 0.85
highlightWorkerFunction · 0.85
setScrollTopFunction · 0.85

Calls 1

bindFunction · 0.85

Tested by

no test coverage detected