JDT CompilationUnitEditor within MultiEditor - no highlighting [message #553466] |
Tue, 17 August 2010 11:39  |
Eclipse User |
|
|
|
Originally posted by: sigmaris.gmail.com
Hi,
I am working with the TiledEditor usage example, which extends
MultiEditor to display 2+ editors tiled inside one parent editor. I have
currently set it up to open two JDT CompilationUnitEditors side-by-side.
They display the appropriate source code and can edit it, but there is
no line / java element highlighting as there normally would be in a JDT
editor. I'd like to be able to highlight certain lines in each pane, so
this is a bit of a problem. Any pointers to why it might be happening?
Also, when opening the TiledEditor, there are several warnings about
conflicting command handlers. Could this be related? I am running
Eclipse 3.5.1.
-Hugh
|
|
|
Re: JDT CompilationUnitEditor within MultiEditor - no highlighting [message #553473 is a reply to message #553466] |
Tue, 17 August 2010 11:58  |
Eclipse User |
|
|
|
Hugh Cole-Baker wrote:
> Hi,
>
> I am working with the TiledEditor usage example, which extends
> MultiEditor to display 2+ editors tiled inside one parent editor. I
> have currently set it up to open two JDT CompilationUnitEditors
> side-by-side. They display the appropriate source code and can edit
> it, but there is no line / java element highlighting as there normally
> would be in a JDT editor. I'd like to be able to highlight certain
> lines in each pane, so this is a bit of a problem. Any pointers to why
> it might be happening?
Because you use an internal class which is not designed to used like this.
>
> Also, when opening the TiledEditor, there are several warnings about
> conflicting command handlers. Could this be related? I am running
> Eclipse 3.5.1.
MultiEditor has many bugs, I would not recommend to use it at that point.
Dani
>
> -Hugh
|
|
|
Powered by
FUDForum. Page generated in 0.03928 seconds