MCPcopy Create free account
hub / github.com/sql-js/sql.js / clearLineMeasurementCache

Function clearLineMeasurementCache

GUI/codemirror/lib/codemirror.js:1663–1668  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

1661 }
1662
1663 function clearLineMeasurementCache(cm) {
1664 cm.display.externalMeasure = null;
1665 removeChildren(cm.display.lineMeasure);
1666 for (var i = 0; i < cm.display.view.length; i++)
1667 clearLineMeasurementCacheFor(cm.display.view[i]);
1668 }
1669
1670 function clearCaches(cm) {
1671 clearLineMeasurementCache(cm);

Callers 2

clearCachesFunction · 0.85
codemirror.jsFile · 0.85

Calls 2

removeChildrenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…