Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Problems when using xtextEditor which in a MultiPageEditor
Problems when using xtextEditor which in a MultiPageEditor [message #643720] Wed, 08 December 2010 01:17
nma is currently offline nmaFriend
Messages: 18
Registered: July 2009
Junior Member

I have added the xtextEditor in the MultiPageEditor, and got two kinds of exception.

The first one, while save the xtextEditor, there is:

2010-12-07 16:47:05,323 ERROR org.eclipse.xtext.ui.editor.folding.DefaultFoldingRegionProv ider - org.eclipse.jface.text.BadLocationException

and the saving function is OK, but report a lot of this exception.

The second one, is when I close the multiPageEditor, there is :

Problems occurred when invoking code from plug-in:

at org.eclipse.jface.text.source.CompositeRuler$CompositeRulerC anvas.childRemoved(
at org.eclipse.jface.text.source.CompositeRuler.removeDecorator (
at org.eclipse.ui.texteditor.AbstractTextEditor$
at org.eclipse.ui.texteditor.AbstractTextEditor$ColumnSupport.r emoveColumn(
at org.eclipse.ui.texteditor.AbstractTextEditor$ColumnSupport.d ispose(
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor$2.disp ose(
at org.eclipse.ui.texteditor.AbstractTextEditor.dispose(Abstrac
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.dispos e(
at org.eclipse.ui.editors.text.TextEditor.dispose(TextEditor.ja va:93)
at org.eclipse.xtext.ui.editor.XtextEditor.dispose(XtextEditor. java:383)
at org.eclipse.ui.part.MultiPageEditorPart$
at org.eclipse.ui.part.MultiPageEditorPart.disposePart(MultiPag
at org.eclipse.ui.part.MultiPageEditorPart.dispose(MultiPageEdi

and I still go no idea about this one.

Could you please help me about the two errors up?

Thank you very very much.

Ma Ning
Previous Topic:Vanishing whitespaces due to optional keyword
Next Topic:Nexus Repo location for xText 1.0.1
Goto Forum:

Current Time: Tue May 22 19:55:27 GMT 2018

Powered by FUDForum. Page generated in 0.01492 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top