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

Function estimateLineHeights

tools/pythonauto/static/codemirrorepl/codemirror.js:291–297  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

289 }
290
291 function estimateLineHeights(cm) {
292 var doc = cm.doc, est = estimateHeight(cm);
293 doc.iter(function(line) {
294 var estHeight = est(line);
295 if (estHeight != line.height) updateLineHeight(line, estHeight);
296 });
297 }
298
299 function keyMapChanged(cm) {
300 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