world.GetSelectionEndLine
Returns the last line of the selection in the output window
Prototype
long GetSelectionEndLine();
Description
Returns a number in the range 1 to the number of lines in the output window, which is the last "selected" line.
If no selection, returns zero.
VBscript example
world.note world.GetSelectionEndLineSetSelection
Jscript example
world.note (world.GetSelectionEndLine ());
PerlScript example
$world->note ($world->GetSelectionEndLine ());
Python example
world.note (world.GetSelectionEndLine )
Lua example
Note (GetSelectionEndLine ())
Return value
The number of the last line in the selection, or zero if no selection.
Related topic
See also
| Function | Description |
|---|---|
| GetLineInfo | Gets details about a specified line in the output window |
| GetLinesInBufferCount | Returns the number of lines in the output window |
| GetSelectionEndColumn | Returns the endling column of the selection in the output window |
| GetSelectionStartColumn | Returns the starting column of the selection in the output window |
| GetSelectionStartLine | Returns the starting line of the selection in the output window |
| SetSelection | Sets a selection range in the output window |