|The Outline view and XML Editor are not kept in sync [message #225268]
||Tue, 16 December 2008 08:34
| Jawher Moussa
Registered: July 2009
In order to simplify the editing of a particular XML format, I've
created an EditorConfiguration by extending the
StructuredTextViewerConfigurationXML, and providing my custom
I've also added an OutlineConfiguration (by extending
But I've noticed that the Outline view does not remain in sync with hte
XML editor (after editing the XML).
I've managed to fix this by adding a ModelStateListenr to the IDOMModel
(through addModelStateListener) from the OutlineContentProvider and
refreshing the viewer when IModelStateListener.modelChanged is fired.
But I was wondering if this might be a bug ? Or if not is the workaround
I described the correct one ?
Powered by FUDForum
. Page generated in 0.01609 seconds