SECEditSelection::GetTail

Returns the tail position of the selection. The tail is the position that ends a selection. The anchor position does not change, while a selection exists, although the tail position may. The tail position does not necessarily follow the anchor position of the selection.

Defined in: SECEditSelection.cpp

Syntax

SECEditLineCol GetTail() const;

void GetTail(int& nTailLine, int& nTailCol) const;

Return Value

Returns either an SECEditLineCol, or the line and column indices of the tail position through output parameters.

Parameters

nTailLine

Output parameter. The line index of the tail position.

nTailCol

Output parameter. The column index of the tail position.

See Also

SECEditSelection  GetSelection  GetAnchor  GetSelEnd