SECEdit::ColorKeyword

int SECEdit::ColorKeyword(int nLine, LPCTSTR lpszLine, LPCTSTR lpszToken, int nTokenLength, int nLength, unsigned short& nWhiteLength, SECEditLineColor* pLineColor)

Sets the syntax coloring for regular keyword matches

Defined in: SECEdit.cpp

Return Value

Returns the length of characters on this line that were colored from the start of the token

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

nWhiteLength

The amount of non colored characters to be added to the line coloring

pLineColor

The syntax coloring for the line being colored