TextEditor with editable syntax highlighting [message #894728] |
Tue, 10 July 2012 09:40 |
|
Ciao,
I have implemented my own text editor (extended from AbstractDecoratedTextEditor) with syntax highlighting and a few more feature I like.
In addition to that I have created a preference page to configured the styles (bold, italic, foreground color, ...) use for the syntax highlighting.
The problem is, If I change the preferences (e.g. change the foreground color of one item), the syntax highlighting will not be updated. For that, I have to close and re-open the editor. I have seen, that this is done differently for e.g. the default java editor. This editor updates the syntax highlighting directly.
How can I implement this for my own editor?
Many thanks,
Best,
Martin
|
|
|
|
Powered by
FUDForum. Page generated in 0.02425 seconds