SECEdit::IsTokenKw

SECEditKeywordInfo* SECEdit::IsTokenKw(int nLine, LPCTSTR lpszLine, LPCTSTR lpszToken, int nTokenLength, int nLength, SECEditKeywordType keytype = secKT_All)

Determines if the given token starts a token keyword type

Defined in: SECEdit.cpp

Return Value

Returns a pointer to the token keyword info if it is a match, NULL if no match

Parameters

nLine

The line number of the token being checked

lpszLine

Pointer to the text at the start of the line

lpszToken

Pointer to the start of the token being checked

nTokenLength

Length of the token being checked. If not equal to zero, then the matched token start must be this length.

nLength

Length from the token start to the end of the line

keytype

The type of token keyword for which to match