(cm, from, to)
| 3196 | |
| 3197 | // Create a range of LineView objects for the given lines. |
| 3198 | function buildViewArray(cm, from, to) { |
| 3199 | var array = [], |
| 3200 | nextPos |
| 3201 | for (var pos = from; pos < to; pos = nextPos) { |
| 3202 | var view = new LineView(cm.doc, getLine(cm.doc, pos), pos) |
| 3203 | nextPos = pos + view.size |
| 3204 | array.push(view) |
| 3205 | } |
| 3206 | return array |
| 3207 | } |
| 3208 | |
| 3209 | var operationGroup = null |
| 3210 |
no test coverage detected