SECEdit::FirstNonWhiteChar

int SECEdit::FirstNonWhiteChar(int nLine)

Retrieves the index of the first non-whitespace character. This method is used for processing the <Home> key, and also for smart indenting.

Defined in: SECEdit.cpp

Return Value

Returns the index of the first non-whitespace character on the given line, or the length of the line if there are no non-whitespace characters on the line.

Parameters

nLine

The line number.

See Also

SECEdit IsLineWhiteSpace