MCPcopy Create free account
hub / github.com/CatMuse/HiNote / constructor

Method constructor

src/editor/EditorHighlightDecorations.ts:24–26  ·  view source on GitHub ↗
(view: EditorView)

Source from the content-addressed store, hash-verified

22 decorations: DecorationSet;
23
24 constructor(view: EditorView) {
25 this.decorations = this.buildDecorations(view);
26 }
27
28 update(update: ViewUpdate): void {
29 if (update.docChanged || update.viewportChanged || update.transactions.length > 0) {

Callers

nothing calls this directly

Calls 1

buildDecorationsMethod · 0.80

Tested by

no test coverage detected