MCPcopy Create free account
hub / github.com/TruthHun/BookStack / startWorker

Function startWorker

static/mergely/lib/codemirror.js:2432–2435  ·  view source on GitHub ↗
(cm, time)

Source from the content-addressed store, hash-verified

2430 // HIGHLIGHT WORKER
2431
2432 function startWorker(cm, time) {
2433 if (cm.doc.mode.startState && cm.doc.frontier < cm.display.viewTo)
2434 cm.state.highlight.set(time, bind(highlightWorker, cm));
2435 }
2436
2437 function highlightWorker(cm) {
2438 var doc = cm.doc;

Callers 5

resetModeStateFunction · 0.70
updateDisplayIfNeededFunction · 0.70
highlightWorkerFunction · 0.70
setScrollTopFunction · 0.70

Calls 2

bindFunction · 0.70
setMethod · 0.45

Tested by

no test coverage detected