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

Method offsetAt

src/test/datascience/mockDocument.ts:133–135  ·  view source on GitHub ↗
(position: Position)

Source from the content-addressed store, hash-verified

131 }
132 }
133 public offsetAt(position: Position): number {
134 return this.convertToOffset(position);
135 }
136 public positionAt(offset: number): Position {
137 let line = 0;
138 let ch = 0;

Callers 6

changeDocumentMethod · 0.80
computeNotebookSummaryFunction · 0.80
canProvideCompletionsMethod · 0.80
getCurrentItemsInListMethod · 0.80
generateCodeImplMethod · 0.80

Calls 1

convertToOffsetMethod · 0.95

Tested by

no test coverage detected