(n)
| 5876 | // Perform a change on the document data structure. |
| 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); |