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

Method update

src/cm/lineBreakMarker.ts:24–28  ·  view source on GitHub ↗
(update: ViewUpdate)

Source from the content-addressed store, hash-verified

22 }
23
24 update(update: ViewUpdate) {
25 if (update.docChanged || update.viewportChanged) {
26 this.decorations = this.getDecorations(update.view);
27 }
28 }
29
30 getDecorations(view: EditorView): DecorationSet {
31 let builder = new RangeSetBuilder<Decoration>();

Callers

nothing calls this directly

Calls 1

getDecorationsMethod · 0.80

Tested by

no test coverage detected