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

Function clearLineMeasurementCacheFor

samples/common/codehighlight/codemirror.js:2542–2549  ·  view source on GitHub ↗
(lineView)

Source from the content-addressed store, hash-verified

2540 }
2541
2542 function clearLineMeasurementCacheFor(lineView) {
2543 if (lineView.measure) {
2544 lineView.measure.cache = {};
2545 lineView.measure.heights = null;
2546 if (lineView.rest) { for (var i = 0; i < lineView.rest.length; i++)
2547 { lineView.measure.caches[i] = {}; } }
2548 }
2549 }
2550
2551 function clearLineMeasurementCache(cm) {
2552 cm.display.externalMeasure = null;

Callers 2

codemirror.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected