MCPcopy Create free account
hub / github.com/breck7/scroll / startWorker

Function startWorker

external/.scrollLibs.js:5759–5763  ·  view source on GitHub ↗
(cm, time)

Source from the content-addressed store, hash-verified

5757 // HIGHLIGHT WORKER
5758
5759 function startWorker(cm, time) {
5760 if (cm.doc.highlightFrontier < cm.display.viewTo) {
5761 cm.state.highlight.set(time, bind(highlightWorker, cm))
5762 }
5763 }
5764
5765 function highlightWorker(cm) {
5766 var doc = cm.doc

Callers 5

updateScrollTopFunction · 0.85
highlightWorkerFunction · 0.85
updateDisplayIfNeededFunction · 0.85
resetModeStateFunction · 0.85

Calls 2

bindFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected