Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/claude-code-best/claude-code
/ getOffset
Method
getOffset
src/utils/Cursor.ts:1025–1027 ·
view source on GitHub ↗
(position: Position)
Source
from the content-addressed store, hash-verified
1023
}
1024
1025
private getOffset(position: Position): number {
1026
return
this.measuredText.getOffsetFromPosition(position)
1027
}
1028
1029
/**
1030
* Find a character using vim f/F/t/T semantics.
Callers
6
up
Method · 0.95
down
Method · 0.95
startOfCurrentLine
Method · 0.95
startOfLine
Method · 0.95
firstNonBlankInLine
Method · 0.95
endOfLine
Method · 0.95
Calls
1
getOffsetFromPosition
Method · 0.80
Tested by
no test coverage detected