If one follows these steps, highlighting is not performed:
- paste sample code
- switch to correct lexer
- run random foreground colour tool
The "fix" is to change at least one keyword set - even by simple supplying empty space.
Forcing repainting of the control doesn't seem to fix anything.