MCPcopy Index your code
hub / github.com/csev/py4e / estimateLineHeights

Function estimateLineHeights

tools/pythonauto/static/codemirror/codemirror.js:244–250  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

242 }
243
244 function estimateLineHeights(cm) {
245 var doc = cm.doc, est = estimateHeight(cm);
246 doc.iter(function(line) {
247 var estHeight = est(line);
248 if (estHeight != line.height) updateLineHeight(line, estHeight);
249 });
250 }
251
252 function keyMapChanged(cm) {
253 var map = keyMap[cm.options.keyMap], style = map.style;

Callers 3

wrappingChangedFunction · 0.70
codemirror.jsFile · 0.70
attachDocFunction · 0.70

Calls 2

estimateHeightFunction · 0.70
updateLineHeightFunction · 0.70

Tested by

no test coverage detected