(cm, viewport)
| 4208 | } |
| 4209 | |
| 4210 | function updateDisplaySimple(cm, viewport) { |
| 4211 | var update = new DisplayUpdate(cm, viewport); |
| 4212 | if (updateDisplayIfNeeded(cm, update)) { |
| 4213 | updateHeightsInViewport(cm); |
| 4214 | postUpdateDisplay(cm, update); |
| 4215 | var barMeasure = measureForScrollbars(cm); |
| 4216 | updateSelection(cm); |
| 4217 | updateScrollbars(cm, barMeasure); |
| 4218 | setDocumentHeight(cm, barMeasure); |
| 4219 | update.finish(); |
| 4220 | } |
| 4221 | } |
| 4222 | |
| 4223 | // Sync the actual display DOM structure with display.view, removing |
| 4224 | // nodes for lines that are no longer in view, and creating the ones |
no test coverage detected