bdeGetEditorSelectedStartLine
Gets the line where the selected text of a given editor starts.
Syntax
selectedStartLine = bdeGetEditorSelectedStartLine(editor)
Inputs
- editor
- The editor that the selected text is in.
Outputs
- selectedStartLine
- The line number that the selected text of an editor starts on.
Examples
Get the line number that the selected text of an editor starts on:
selectedStartLine = bdeGetEditorSelectedStartLine(editor);
selectedStartLine = 2