(update: ViewUpdate)
| 314 | } |
| 315 | |
| 316 | update(update: ViewUpdate): void { |
| 317 | if (update.docChanged || update.viewportChanged || update.geometryChanged) { |
| 318 | this.scheduleDecorations(update); |
| 319 | } |
| 320 | const readOnly = update.view.contentDOM.ariaReadOnly === "true"; |
| 321 | const editable = update.view.contentDOM.contentEditable === "true"; |
| 322 | const canBeEdited = readOnly === false && editable; |
| 323 | this.changePicker(update.view, canBeEdited); |
| 324 | } |
| 325 | |
| 326 | scheduleVisibleRanges(view: EditorView): void { |
| 327 | this.pendingView = view; |
no test coverage detected