(update: ViewUpdate)
| 193 | } |
| 194 | |
| 195 | update(update: ViewUpdate) { |
| 196 | if (!update.docChanged && !update.viewportChanged) return; |
| 197 | if (update.docChanged) { |
| 198 | this.decorations = this.decorations.map(update.changes); |
| 199 | } |
| 200 | this.scheduleBuild(update.view); |
| 201 | } |
| 202 | |
| 203 | scheduleBuild(view: EditorView): void { |
| 204 | this.pendingView = view; |
nothing calls this directly
no test coverage detected