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

Method update

src/cm/rainbowBrackets.ts:195–201  ·  view source on GitHub ↗
(update: ViewUpdate)

Source from the content-addressed store, hash-verified

193 }
194
195 update(update: ViewUpdate) {
196 if (!update.docChanged && !update.viewportChanged) return;
197 if (update.docChanged) {
198 this.decorations = this.decorations.map(update.changes);
199 }
200 this.scheduleBuild(update.view);
201 }
202
203 scheduleBuild(view: EditorView): void {
204 this.pendingView = view;

Callers

nothing calls this directly

Calls 1

scheduleBuildMethod · 0.80

Tested by

no test coverage detected