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