| [news.eclipse.platform.rcp] Re: Use Java-Code-Editor in an Dialog |
Nope. Works fine here. Simply debug or trace it to find out.Hello i have tried your solution. But I failed!
I have appended my code (code.txt).
My problems are:
- sourceViewer.configurer(...) takes infinite time. The method never return. I don't know why. Any idea?
- The sourceViewer isn't editable. Can i change this? (2) doesn't work.
It is. You're probably doing something wrong.
- How can i (in code) insert Text into the sourceView?
Daniel Megert wrote:Johann Rosner wrote:This is not supported. You can use a source viewer and configure it with a JavaSourceViewerConfiguration though.Hello I have some problems, and i hope someone can help ;)
I am developing an RCP Application. And I need to integrate an Java-Code-Editor.
I think the editor I need is the CompilationUnitEditor (but im not sure).
So the problems are: - The editor habe to be shown in (extra) Dialog.
Dani- The editor should provide, syntax-highlighting & code completion. (like in Eclipse IDE)
- I don't want to have the editor-Icons on the applications toolbar.
Any ideas how to manage this? Thank you.