SECEditSelection::SetSelection

Sets the selection positions, and optionally, the selection type.

Defined in: SECEditSelection.cpp

Syntax

void SetSelection(int nStartLine, int nStartCol, int nEndLine, int nEndCol, SECEditSelectionType type = secST_StreamSelect);

void SetSelection(SECEditLineCol lcSelStart, SECEditLineCol lcSelEnd, SECEditSelectionType type = secST_StreamSelect);

Return Value

void

Parameters

nStartLine

The starting line index for the selection.

nStartCol

The starting column index for the selection.

nEndLine

The ending line index for the selection.

nEndCol

The ending column index for the selection.

lcSelStart

The starting selection position.

lcSelEnd

The ending selection position.

type

The type of the selection.

See Also

SECEditSelection SetSelectionType ClearSel GetSelection