MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / constructor

Method constructor

src/shared/vscode/trackers.ts:64–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 public readonly onOffsetsChanged = this.onOffsetsChangedEmitter.event;
63
64 constructor() {
65 this.disposables.push(vs.workspace.onDidChangeTextDocument((e) => this.handleUpdate(e)));
66 }
67
68 public trackDoc(document: vs.TextDocument, offsets: number[]) {
69 this.document = document;

Callers

nothing calls this directly

Calls 2

handleUpdateMethod · 0.95

Tested by

no test coverage detected