Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » JDT CompilationUnitEditor within MultiEditor - no highlighting
JDT CompilationUnitEditor within MultiEditor - no highlighting [message #553466] Tue, 17 August 2010 15:39 Go to next message
Eclipse UserFriend
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 15:58 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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
Previous Topic:Project close and rename operations
Next Topic:Apply a working set to a view?
Goto Forum:
  


Current Time: Wed Jan 27 17:49:52 GMT 2021

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

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

Back to the top