TXTextControl.SelectionBounds.length Property
The length of the selection in characters.
Syntax
[JavaScript] <integer> SelectionBounds.length