ControlContext :: selectedTextPosition - Get position of currently selected text
The function returns the position of the currently selected text. The text position is calculated based on plain text format.
Return value: Position in collection ( int32 )
The position of an entry in a collection or list is the number of the entry in the collection beginning with 0 for the first entry.