(n)
| 4713 | // Perform a change on the document data structure. |
| 4714 | function updateDoc(doc, change, markedSpans, estimateHeight) { |
| 4715 | function spansFor(n) {return markedSpans ? markedSpans[n] : null} |
| 4716 | function update(line, text, spans) { |
| 4717 | updateLine(line, text, spans, estimateHeight); |
| 4718 | signalLater(line, "change", line, change); |