(start, end)
| 27 | signalLater(line, "change", line, change) |
| 28 | } |
| 29 | function linesFor(start, end) { |
| 30 | let result = [] |
| 31 | for (let i = start; i < end; ++i) |
| 32 | result.push(new Line(text[i], spansFor(i), estimateHeight)) |
| 33 | return result |
| 34 | } |
| 35 | |
| 36 | let from = change.from, to = change.to, text = change.text |
| 37 | let firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line) |