offset property
final
The index of the character that immediately follows the position.
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