SECEditSelection::ExtendSel

Extends the selection to the given position.

Defined in: SECEditSelection.cpp

Syntax

BOOL ExtendSel(SECEditLineCol lc, int* pStartLine = NULL, int* pEndLine = NULL);

BOOL ExtendSel(int nLine, int nCol, int* pStartLine = NULL, int* pEndLine = NULL);

Return Value

Returns non-zero if the ending position of the selection changed; otherwise 0.

Parameters

nLine

The line index to extend the selection to.

nCol

The column index on the given line to extend the selection to.

lc

The position for extending the selection.

pStartLine

Output parameter. Points to the starting line index of the new selection.

pEndLine

Output parameter. Points to the ending line index of the new selection.

See Also

SECEditSelection  SetSelection