SECEditController::GetWordBound

BOOLSECEditController::GetWordBound(CString &strWord, intnLine, intnCol, BOOLbForward, int*pLine, int*pCol)

Retrieves the next or previous word from the given position.

Defined in: SECEditController.cpp

Return Value

Returns non-zero if a word is found; otherwise 0. The word is returned in the strWord parameter reference variable, and the line and column receive either the position other end of the word.

Parameters

strWord

The returned word, if found.

nLine

The line index of the text.

nCol

The column index position on the given line.

bForward

Indicates a forward or reverse search.

pLine

Output parameter. Points to the returned line index for the other end of the word.

pCol

Output parameter. Points to the returned column number for the other end of the word.

See Also

SECEditController  GetLine