MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / insert

Method insert

src/test/datascience/mockTextEditor.ts:38–45  ·  view source on GitHub ↗
(location: Position, value: string)

Source from the content-addressed store, hash-verified

36 }
37
38 public insert(location: Position, value: string): void {
39 this._documentManager.changeDocument(this._document.fileName, [
40 {
41 range: new Range(location, location),
42 newText: value
43 }
44 ]);
45 }
46 public delete(_location: Selection | Range): void {
47 throw new Error('Method not implemented.');
48 }

Callers 2

insertIntoInputEditorFunction · 0.45
sharedIWDebuggerTestsFunction · 0.45

Calls 1

changeDocumentMethod · 0.80

Tested by

no test coverage detected