(n)
| 7161 | // Perform a change on the document data structure. |
| 7162 | function updateDoc(doc, change, markedSpans, estimateHeight) { |
| 7163 | function spansFor(n) {return markedSpans ? markedSpans[n] : null;} |
| 7164 | function update(line, text, spans) { |
| 7165 | updateLine(line, text, spans, estimateHeight); |
| 7166 | signalLater(line, "change", line, change); |