SECEdit::FillWhiteLength

voidSECEdit::FillWhiteLength(SECEditLineColor*pLineColor, unsigned short&nWhiteLength)

Sets the syntax coloring for the block of non colored text prior to a colored block

Defined in: SECEdit.cpp

Return Value

void

Parameters

pLineColor

The syntax coloring for the line being colored

nWhiteLength

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

Developer Notes

FillWhiteLength is called as each line is being colored. As tokens are parsed, the count of non colored characters is accumulated in nWhiteLength. When a token is matched to be colored, this routine is called with the amount of non-colored characters preceeding the match. It may be zero or greater, and the white length is reset to zero after this routine executes.