Skip to main content



      Home
Home » Newcomers » Newcomers » Semantic highlighting HOWTO
Semantic highlighting HOWTO [message #252312] Tue, 25 March 2008 07:59 Go to next message
Eclipse UserFriend
Hello,

I'm implementing an DSL based editor and I want to perform semantic
highlight on it. I've searched around and found nothing on the subject,
only keywords based highlight (which is already done ). Is this a very
difficult task to perform? Is there any simple example I can look at (such
as the XML syntax highlight example). What classes do I have to extend?
I've seen the JDT source code and it seems to me that this is achieved by
implementing a new Presentation/Manager/Reconciler.. (?).
I'd appreciate some input on this subject.

Thank you,
mmarques
Re: Semantic highlighting HOWTO [message #252767 is a reply to message #252312] Mon, 31 March 2008 10:10 Go to previous message
Eclipse UserFriend
mmarques wrote:
> Hello,
>
> I'm implementing an DSL based editor and I want to perform semantic
> highlight on it. I've searched around and found nothing on the
> subject, only keywords based highlight (which is already done ). Is
> this a very difficult task to perform? Is there any simple example I
> can look at (such as the XML syntax highlight example). What classes
> do I have to extend? I've seen the JDT source code and it seems to me
> that this is achieved by implementing a new
> Presentation/Manager/Reconciler.. (?). I'd appreciate some input on
> this subject.
The following presentation explains syntax coloring:
http://www.eclipse.org/eclipse/platform-text/eclipseCon/talk .pdf

Dani
>
> Thank you,
> mmarques
Previous Topic:Eclipse plugin markers
Next Topic:Testing a JCA jar file
Goto Forum:
  


Current Time: Wed Apr 30 18:15:01 EDT 2025

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

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

Back to the top