(update: ViewUpdate)
| 26 | } |
| 27 | |
| 28 | update(update: ViewUpdate): void { |
| 29 | if (update.docChanged || update.viewportChanged || update.transactions.length > 0) { |
| 30 | this.decorations = this.buildDecorations(update.view); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | private buildDecorations(view: EditorView): DecorationSet { |
| 35 | const activeView = plugin.app.workspace.getActiveViewOfType(MarkdownView); |
nothing calls this directly
no test coverage detected