SECEditLangConfig::IsKeyword

int SECEditLangConfig::IsKeyword(LPCTSTR lpszKeyword, int nLength, unsigned short& nOffset)

Compares a string against the list of keywords.

Defined in: SECEditLangConfig.cpp

Return Value

Returns non-zero if a keyword was located; otherwise returns 0.

Parameters

lpszKeyword

Points to the start of the word to be checked.

nLength

The length of lpszKeyword.

nOffset

Output parameter. The index into the m_arrColorInfo array for rendering the located keyword in color.

See Also

SECEditLangConfig