(line, text, spans)
| 5877 | function updateDoc(doc, change, markedSpans, estimateHeight) { |
| 5878 | function spansFor(n) {return markedSpans ? markedSpans[n] : null;} |
| 5879 | function update(line, text, spans) { |
| 5880 | updateLine(line, text, spans, estimateHeight); |
| 5881 | signalLater(line, "change", line, change); |
| 5882 | } |
| 5883 | |
| 5884 | var from = change.from, to = change.to, text = change.text; |
| 5885 | var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line); |
no test coverage detected