SECEditController::GetSelection

BOOL SECEditController::GetSelection(int& nStartLine, int& nStartCol, int& nEndLine, int& nEndCol)

Retrieves the starting and ending positions of the current selection. The values returnedd are those that would need to be passed to GetTextBlock to get the text represented by the selection. This values are adjusted if necessary for virtual whitespace. For column select mode, only the line/column corner coordinates are returned.

Defined in: SECEditController.cpp

Return Value

Returns non-zero if text is selected, otherwise 0.

Parameters

nStartLine

Output parameter. The starting line index for the selection.

nStartCol

Output parameter. The starting column index on the starting line.

nEndLine

Output parameter. The ending line index for the selection.

nEndCol

Output parameter. The ending column index on the ending line.

See Also

SECEditController SetSelection FALSE */) const