Returns the current selection or sets the selection's position and length. The setter must be used as follows: TXTextControl.selection = { start: 2, length: 5 }

Introduced: X14.

Syntax

<Selection> TXTextControl.selection