"ERROR" message in TextEditor [message #774779] |
Wed, 04 January 2012 15:33 |
|
Hello, everyone.
I'm playing around with Text Editor of Eclipse. I've got the sources of EclipseCon 2006 - RecipeEditor. I've tried running step 2-syntaxColoring and it worked great. Now I've moved to step 3-partitioning and that is where I encontered the problem. Text Editor is displaying a blank list with a word ERROR written on it and nothing more.
I've reserched the message as far as I could and followed it into StatusTextEditor.updatePartControl().
The following line IStatus status= extension.getStatus(input); returns status = "Status ERROR: org.eclipse.ui.workbench.texteditor code=1 ERROR null".
Can anyone give me a pointer to where to look for further, or what the error code means?
[Updated on: Wed, 04 January 2012 15:34] Report message to a moderator
|
|
|
Re: "ERROR" message in TextEditor [message #774796 is a reply to message #774779] |
Wed, 04 January 2012 16:26 |
|
From what I've have seen till now, the document provider is based on FileDocumentProvider. When openning a file of registered type, FileDocumentProvider.setDocumentContent is called. It does the following check: if (editorInput instanceof IFileEditorInput), but editorInput is not an instanceof IFileEditorInput, but of FileStoreEditorInput, so nothing happens...
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03013 seconds