Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Hightlight area in editor
Hightlight area in editor [message #248603] Wed, 10 October 2007 15:04 Go to next message
Eclipse UserFriend
Originally posted by: zinon.z.gmail.com

Hi all,

Can someone give me a pointer on how I can highlight certain areas in
the editor?

I can get the location of the regions in the source I want to highlight
using AST, but haven't been able to figure out how to go about
highlighting those regions.

Thanks in advance.
ZZ
Re: Hightlight area in editor [message #248676 is a reply to message #248603] Thu, 11 October 2007 09:16 Go to previous messageGo to next message
Eclipse UserFriend
ZZ wrote:

> Hi all,
>
> Can someone give me a pointer on how I can highlight certain areas in
> the editor?

Which editor? You own? In General
org.eclipse.jface.text.source.Annotation is a good start.

Dani

>
> I can get the location of the regions in the source I want to
> highlight using AST, but haven't been able to figure out how to go
> about highlighting those regions.
>
> Thanks in advance.
> ZZ
Re: Hightlight area in editor [message #248692 is a reply to message #248676] Thu, 11 October 2007 12:48 Go to previous message
Eclipse UserFriend
Originally posted by: zinon.z.gmail.com

Daniel Megert wrote:
> ZZ wrote:
>
>> Hi all,
>>
>> Can someone give me a pointer on how I can highlight certain areas in
>> the editor?
>
> Which editor? You own? In General
> org.eclipse.jface.text.source.Annotation is a good start.
>
> Dani
>
>>
>> I can get the location of the regions in the source I want to
>> highlight using AST, but haven't been able to figure out how to go
>> about highlighting those regions.
>>
>> Thanks in advance.
>> ZZ

Preferably the Eclipse editor - I don't want to add another editor if I
can avoid it.
Previous Topic:Is there a list of navigation events that affect the Java editor?
Next Topic:APT generated classes aren't compiled
Goto Forum:
  


Current Time: Thu May 08 04:02:59 EDT 2025

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

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

Back to the top