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

Method constructor

src/cm/colorView.ts:310–314  ·  view source on GitHub ↗
(view: EditorView)

Source from the content-addressed store, hash-verified

308 pendingDirtyRanges: DocRange[] = [];
309
310 constructor(view: EditorView) {
311 this.decorations = Decoration.none;
312 this.visibleRanges = normalizeRanges(view.visibleRanges);
313 this.scheduleVisibleRanges(view);
314 }
315
316 update(update: ViewUpdate): void {
317 if (update.docChanged || update.viewportChanged || update.geometryChanged) {

Callers

nothing calls this directly

Calls 2

scheduleVisibleRangesMethod · 0.95
normalizeRangesFunction · 0.85

Tested by

no test coverage detected