I've created an annotator that highlights some elements of Java and HTML files.
Now i want to provide a ColorSettingPage so that the user can configure the display colors. This seems to work fine except for the preview part. It seems that the preview only works if you provide highlighting at lexer level.
I say this because the ColorSettingsPage interface provides a getHighlighter() that is what does the hightlighting in the preview, but i don't have any highlighter because i use an annotator.
Is there any way i can do this ?