Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Overide Syntax Coloring
Overide Syntax Coloring [message #157284] Sat, 15 November 2003 13:10 Go to next message
Eclipse UserFriend
Originally posted by: glongman.intelligentworks.nospam.com

I have a text editor with the usual setup to provide syntax coloring.

Is it possible to override the coloring for a range in a SourceViewer?

If so, can anyone provide a pointer to how this is done?

Cheers,

Geoff
Re: Overide Syntax Coloring [message #157331 is a reply to message #157284] Sat, 15 November 2003 17:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

G Longman wrote:

>I have a text editor with the usual setup to provide syntax coloring.
>
>Is it possible to override the coloring for a range in a SourceViewer?
>
>
If it is related to syntax colouring then adding a corresponding rule
would probably the appropriate thing. If you want to change text style
for some other feature (e.g. to mark occurrences) you should use the new
API ITextPresentationListener.

Dani

>If so, can anyone provide a pointer to how this is done?
>
>Cheers,
>
>Geoff
>
>
>
>
>
>
>
Re: Overide Syntax Coloring [message #157347 is a reply to message #157331] Sat, 15 November 2003 21:01 Go to previous message
Eclipse UserFriend
Originally posted by: glongman.intelligentworks.nospam.com

Thanks!

Geoff
"Daniel Megert" <daniel.megert@gmx.net> wrote in message
news:bp5nrm$mll$1@eclipse.org...
> G Longman wrote:
>
> >I have a text editor with the usual setup to provide syntax coloring.
> >
> >Is it possible to override the coloring for a range in a SourceViewer?
> >
> >
> If it is related to syntax colouring then adding a corresponding rule
> would probably the appropriate thing. If you want to change text style
> for some other feature (e.g. to mark occurrences) you should use the new
> API ITextPresentationListener.
>
> Dani
>
> >If so, can anyone provide a pointer to how this is done?
> >
> >Cheers,
> >
> >Geoff
> >
> >
> >
> >
> >
> >
> >
>
Previous Topic:Native Library already loaded in another classloader
Next Topic:REALLY Flat Buttons?
Goto Forum:
  


Current Time: Sun Oct 06 08:29:46 GMT 2024

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

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

Back to the top