SECEditController::GetSelection
Retrieves the starting and ending positions of the current selection. The positions returned are those coordinates that would be needed to be passed to GetTextBlock to get the text that this selection represents.
Defined in: SECEditController.cpp
Syntax
BOOL GetSelection(SECEditLineColPair &lcpSel) const;void GetSelection(int& nStartLine, int& nStartCol, int& nEndLine, int& nEndCol) const;
Return Value
Returns non-zero if there is text is currently selected.
Parameters
&lcpSel
Output parameter. References the line column position.
See Also
SECEditControllerGetSelColumns GetSelectionType GetSel GetSelText FALSE */) const