Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Java Code Highlight in Custom TextEditor
Java Code Highlight in Custom TextEditor [message #315492] Thu, 10 May 2007 11:51 Go to next message
Eclipse UserFriend
Originally posted by: gritgop.pisem.net

Hi.

Is is possible to create a custom editor that Extends TextEditor that
makes use of the Java source code highlight?

Thanks
Re: Java Code Highlight in Custom TextEditor [message #315512 is a reply to message #315492] Fri, 11 May 2007 02:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacek.pospychala.pl.ibm.com

If your editor extends TextEditor it can have syntax highlighting like
this in Java editor.
But do you want your editor to edit java files?

exquisitus wrote:
> Hi.
>
> Is is possible to create a custom editor that Extends TextEditor that
> makes use of the Java source code highlight?
>
> Thanks
Re: Java Code Highlight in Custom TextEditor [message #315517 is a reply to message #315512] Fri, 11 May 2007 08:45 Go to previous message
Eclipse UserFriend
Originally posted by: gritgop.pisem.net

My editor uses .java files. Those files are modified to add some text so
I'd need the coloring to ignore those added lines.

Would it be possible to reuse the coloring already used in the regular
..java editor?, if so, how could I do it?

Thanks.


Jacek Pospychala wrote:
> If your editor extends TextEditor it can have syntax highlighting like
> this in Java editor.
> But do you want your editor to edit java files?
>
> exquisitus wrote:
>> Hi.
>>
>> Is is possible to create a custom editor that Extends TextEditor that
>> makes use of the Java source code highlight?
>>
>> Thanks
Previous Topic:Is there a standard API for persisting JOB runs inbetween Platform restarts?
Next Topic:List of Workspace Projects
Goto Forum:
  


Current Time: Mon Jun 09 04:13:07 EDT 2025

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

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

Back to the top