(at, n)
| 31 | |
| 32 | // Remove the n lines at offset 'at'. |
| 33 | removeInner(at, n) { |
| 34 | for (let i = at, e = at + n; i < e; ++i) { |
| 35 | let line = this.lines[i] |
| 36 | this.height -= line.height |
| 37 | cleanUpLine(line) |
| 38 | signalLater(line, "delete") |
| 39 | } |
| 40 | this.lines.splice(at, n) |
| 41 | }, |
| 42 | |
| 43 | // Helper used to collapse a small branch into a single leaf. |
| 44 | collapse(lines) { |
nothing calls this directly
no test coverage detected