|dynamically installing a presentation reconciler [message #107489]
||Wed, 06 August 2003 13:30
Originally posted by: lyjr.ifrance.com|
I have a PresentationReconciler which defines the rules of syntax
highlighting for my editor.
I have associated this PresentationReconciler to the SourceViewer of
my editor using presentationReconciler.install(getSourceViewer())
from my editor class.
The user can choose the colors of syntax highlighting from a
My problem is that when the user change a color, the editor does not
apply the change : the editor must be closed and then re-opened.
I've tried to add this code in the handlePreferenceStoreChanged
method of my text editor (which is a TextEditor) :
presentationReconciler = new MyPresentationReconciler();
.... but it doesn't work.
I've tried many other things, but without success.
Anyone can help me, please ?
Powered by FUDForum
. Page generated in 0.01520 seconds