MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / constructor

Method constructor

src/cm/lineBreakMarker.ts:20–22  ·  view source on GitHub ↗
(view: EditorView)

Source from the content-addressed store, hash-verified

18 decorations: DecorationSet;
19
20 constructor(view: EditorView) {
21 this.decorations = this.getDecorations(view);
22 }
23
24 update(update: ViewUpdate) {
25 if (update.docChanged || update.viewportChanged) {

Callers

nothing calls this directly

Calls 1

getDecorationsMethod · 0.80

Tested by

no test coverage detected