(cm)
| 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; |
no test coverage detected