Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Color method\class source on editor
Color method\class source on editor [message #323578] Tue, 01 January 2008 06:05 Go to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

Hi
I am trying to write small plug in that allows the user to lock\unlock some pieces of code (field, method, class)

After getting the method element (as java element) I want to see that her source on the editor is colored in some other color that I choose (red for example), other then the default (black).

I have tried to find the mechanism to do that, with no success.
I have followed the java editor example plug-in and the xml editor example plug-in (supplied by eclipse) - it does not fit to my scenario since the color is done there according to some parsing rules - which I don't have.

Is there a way to do that (there must be...) ?

Thanks in advance for your help
Aviad
Re: Color method\class source on editor [message #323866 is a reply to message #323578] Thu, 10 January 2008 12:29 Go to previous message
Eclipse UserFriend
aviad wrote:

>Hi
>I am trying to write small plug in that allows the user to lock\unlock some pieces of code (field, method, class)
>
>After getting the method element (as java element) I want to see that her source on the editor is colored in some other color that I choose (red for example), other then the default (black).
>
>I have tried to find the mechanism to do that, with no success.
>I have followed the java editor example plug-in and the xml editor example plug-in (supplied by eclipse) - it does not fit to my scenario since the color is done there according to some parsing rules - which I don't have.
>
>Is there a way to do that (there must be...) ?
>
>
No, this is not available out of the box.

Dani

>Thanks in advance for your help
>Aviad
>
>
Previous Topic:How do I reuse editor's NavigationHistory information?
Next Topic:How to get the wizard ?
Goto Forum:
  


Current Time: Fri Sep 19 13:31:36 EDT 2025

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

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

Back to the top