world.GetSelectionStartLine
Returns the starting line of the selection in the output window
Prototype
long GetSelectionStartLine();
Description
Returns a number in the range 1 to the number of lines in the output window, which is the first "selected" line.
If no selection, returns zero.
VBscript example
world.note world.GetSelectionStartLine
Jscript example
world.note (world.GetSelectionStartLine ());
PerlScript example
$world->note ($world->GetSelectionStartLine ());
Python example
world.note (world.GetSelectionStartLine )
Lua example
Note (GetSelectionStartLine ())
Return value
The number of the first 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 |
| GetSelectionEndLine | Returns the last line of the selection in the output window |
| GetSelectionStartColumn | Returns the starting column of the selection in the output window |
| SetSelection | Sets a selection range in the output window |