SELECTION-END attribute
The offset of the first character after the end of the currently selected text in the widget.
Data type: INTEGER
Access: Read-only
If no text is currently selected, SELECTION-END has the Unknown value (?).
If the editor is not already realized and you reference its SELECTION-END attribute, the AVM realizes the widget.
In Windows, both the regular editor and the large editor support SELECTION-END.