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

Function startWorker

static/editor.md/lib/codemirror/lib/codemirror.js:2329–2332  ·  view source on GitHub ↗
(cm, time)

Source from the content-addressed store, hash-verified

2327 // HIGHLIGHT WORKER
2328
2329 function startWorker(cm, time) {
2330 if (cm.doc.mode.startState && cm.doc.frontier < cm.display.viewTo)
2331 cm.state.highlight.set(time, bind(highlightWorker, cm));
2332 }
2333
2334 function highlightWorker(cm) {
2335 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