globalPositionOf

open fun globalPositionOf(field: FieldSpec): Int

Returns the index of a field's first character in the lines joined without a separator.

Return

field.line * lineLength + field.startInLine.

Parameters

field

The field position, relative to its line.