SECEdit::IsLineColValid

BOOL SECEdit::IsLineColValid(int nLine, int nCol, BOOL bVirtualSpace)

Tests the validity of a given line and column pair.

Defined in: SECEdit.cpp

Return Value

Returns non-zero if the line and colum pair specify a valid offset into the visible text (not including line ends) in the text buffer; otherwise returns 0. This method does not account for multibyte character sets. If bVirtualSpace is non-zero, this method always returns a non-zero value.

Parameters

nLine

The line index to test.

nCol

The column index on the given line to test.

bVirtualSpace

Indicates that virtual white space exists.

See Also

SECEdit