Overide Syntax Coloring [message #157284] |
Sat, 15 November 2003 13:10 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
> >
> >
> >
> >
> >
> >
> >
>
|
|
|
Powered by
FUDForum. Page generated in 0.04163 seconds