Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
provideCompletionItemsFromKernel
Method · 0.80
changeDocument
Method · 0.80
computeNotebookSummary
Function · 0.80
canProvideCompletions
Method · 0.80
getCurrentItemsInList
Method · 0.80
generateCodeImpl
Method · 0.80
Calls
1
convertToOffset
Method · 0.95
Tested by
no test coverage detected