Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » highlight text
highlight text [message #55909] Thu, 16 April 2009 14:51 Go to next message
pasquale is currently offline pasqualeFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,(sorry for my English)

I want to highlight text within the editor programmatically.

I would like to highlight two or more parts of the text, distinguishing
between evidence, with different colors.

I would like to highlight as giving coordinates offset and length.

I have read several documents but I did not understand how I can do with
markers and annotation.

Can you help me please?
thanks
Re: highlight text [message #57223 is a reply to message #55909] Mon, 20 April 2009 13:29 Go to previous message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
There may be some helpful tutorials here:

http://www.eclipse.org/eclipse/platform-text/development/dev .php

Specifically this doc,

http://www.eclipse.org/eclipse/platform-text/eclipseCon/2006 /texteditorrecipes.pdf

Regards,
Ben

pasquale wrote:
> Hi,(sorry for my English)
>
> I want to highlight text within the editor programmatically.
>
> I would like to highlight two or more parts of the text, distinguishing
> between evidence, with different colors.
>
> I would like to highlight as giving coordinates offset and length.
>
> I have read several documents but I did not understand how I can do with
> markers and annotation.
>
> Can you help me please?
> thanks
>
Re: highlight text [message #595932 is a reply to message #55909] Mon, 20 April 2009 13:29 Go to previous message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
There may be some helpful tutorials here:

http://www.eclipse.org/eclipse/platform-text/development/dev .php

Specifically this doc,

http://www.eclipse.org/eclipse/platform-text/eclipseCon/2006 /texteditorrecipes.pdf

Regards,
Ben

pasquale wrote:
> Hi,(sorry for my English)
>
> I want to highlight text within the editor programmatically.
>
> I would like to highlight two or more parts of the text, distinguishing
> between evidence, with different colors.
>
> I would like to highlight as giving coordinates offset and length.
>
> I have read several documents but I did not understand how I can do with
> markers and annotation.
>
> Can you help me please?
> thanks
>
Previous Topic:Missing Logfile or errormessage at headless build
Next Topic:Retrieving fully qualified names of method and field signatures.
Goto Forum:
  


Current Time: Sat Jun 12 11:10:17 GMT 2021

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

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

Back to the top