(line, text, spans)
| 4740 | function updateDoc(doc, change, markedSpans, selAfter, estimateHeight) { |
| 4741 | function spansFor(n) {return markedSpans ? markedSpans[n] : null;} |
| 4742 | function update(line, text, spans) { |
| 4743 | updateLine(line, text, spans, estimateHeight); |
| 4744 | signalLater(line, "change", line, change); |
| 4745 | } |
| 4746 | |
| 4747 | var from = change.from, to = change.to, text = change.text; |
| 4748 | var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line); |
no test coverage detected