Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/codeaashu/claude-code
/ getOffset
Method
getOffset
src/utils/Cursor.ts:1050–1052 ·
view source on GitHub ↗
(position: Position)
Source
from the content-addressed store, hash-verified
1048
}
1049
1050
private getOffset(position: Position): number {
1051
return
this.measuredText.getOffsetFromPosition(position)
1052
}
1053
1054
/**
1055
* 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