(line, text, spans)
| 7188 | function updateDoc(doc, change, markedSpans, estimateHeight) { |
| 7189 | function spansFor(n) {return markedSpans ? markedSpans[n] : null;} |
| 7190 | function update(line, text, spans) { |
| 7191 | updateLine(line, text, spans, estimateHeight); |
| 7192 | signalLater(line, "change", line, change); |
| 7193 | } |
| 7194 | function linesFor(start, end) { |
| 7195 | for (var i = start, result = []; i < end; ++i) |
| 7196 | result.push(new Line(text[i], spansFor(i), estimateHeight)); |
no test coverage detected