Kotlin Wrappers API Reference
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
kotlin-vscode
/
vscode
/
TextDocument
/
offsetAt
offset
At
abstract
fun
offsetAt
(
position
:
Position
)
:
Int
(
source
)
Converts the position to a zero-based offset.
The position will be
adjusted
.
Parameters
position
A position.