(line, text, spans)
| 6945 | function updateDoc(doc, change, markedSpans, estimateHeight) { |
| 6946 | function spansFor(n) {return markedSpans ? markedSpans[n] : null;} |
| 6947 | function update(line, text, spans) { |
| 6948 | updateLine(line, text, spans, estimateHeight); |
| 6949 | signalLater(line, "change", line, change); |
| 6950 | } |
| 6951 | function linesFor(start, end) { |
| 6952 | for (var i = start, result = []; i < end; ++i) |
| 6953 | result.push(new Line(text[i], spansFor(i), estimateHeight)); |
no test coverage detected