(doc, change)
| 15 | // are treated specially, in order to make the association of line |
| 16 | // widgets and marker elements with the text behave more intuitive. |
| 17 | export function isWholeLineUpdate(doc, change) { |
| 18 | return change.from.ch == 0 && change.to.ch == 0 && lst(change.text) == "" && |
| 19 | (!doc.cm || doc.cm.options.wholeLineUpdateBefore) |
| 20 | } |
| 21 | |
| 22 | // Perform a change on the document data structure. |
| 23 | export function updateDoc(doc, change, markedSpans, estimateHeight) { |
no test coverage detected