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

Function startWorker

samples/common/codehighlight/codemirror.js:3956–3959  ·  view source on GitHub ↗
(cm, time)

Source from the content-addressed store, hash-verified

3954 // HIGHLIGHT WORKER
3955
3956 function startWorker(cm, time) {
3957 if (cm.doc.highlightFrontier < cm.display.viewTo)
3958 { cm.state.highlight.set(time, bind(highlightWorker, cm)); }
3959 }
3960
3961 function highlightWorker(cm) {
3962 var doc = cm.doc;

Callers 5

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

Calls 1

bindFunction · 0.70

Tested by

no test coverage detected