SECEdit::FindText

intSECEdit::FindText(intnLine, intnCol, int&nResultLine, int&nResultCol, LPCTSTRlpszText, BOOLbDown, BOOLbWrapAround, BOOLbMatchCase, BOOLbMatchWholeWord, BOOLbRegularExpression, intnStopLine, intnStopCol)

Finds the given text in the text buffer.

Defined in: SECEdit.cpp

Return Value

Returns the length of match if successful; otherwise 0.

Parameters

nLine

The starting line index for the search.

nCol

The starting column index on the given line to start search.

nResultLine

Output parameter. References the line index where match was located.

nResultCol

Output parameter. References the column index where match was located.

lpszText

Points to the text to search for.

bDown

Indicates direction to search.

bWrapAround

Indicates whether to wrap around the text buffer if the search hits the boundary of the buffer.

bMatchCase

Indicates whether to match case of searched text.

bMatchWholeWord

Indicates whether to perform whole word search.

bRegularExpression

Indicates whether to use regular expressions.

nStopLine

Line to stop search on.

nStopCol

Column to stop search on.

See Also

SECEdit