offset property

int offset
final

The index of the character that immediately follows the position in the string representation of the text.

For example, given the string 'Hello', offset 0 represents the cursor being before the H, while offset 5 represents the cursor being just after the o.

Implementation

final int offset