offsetAt

abstract fun offsetAt(position: Position): Int(source)

Converts the position to a zero-based offset.

The position will be adjusted.

Parameters

position

A position.