.Editor.Selection.EndLine (gb.qt.ext)
Syntax
PROPERTY READ EndLine AS Integer
Returns the end line of the current selection, or -1 if no text is selected.