Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Syntax highlighting - Different background color in some items
Syntax highlighting - Different background color in some items [message #314931] Fri, 27 April 2007 20:09 Go to next message
Eclipse UserFriend
Originally posted by: xmontero.dsitelecom.com

Hello all.

I think this is my first post, although I have a user created since some years
ago. Perhaps I someday posted. Anyway hello. Here I go:

- I use Eclipse for editing PHP.
- I use white background, although I would like to use green background and
white fore, but only for comments, the rest continuing with white background.
- I think the version I use does not permit this.
- I use Eclipse version 3.0.1 buidid 200409161125. The PHP subsystem should be
of a similar date or so.

QUESTIONS:

1) Does a newer version of either Eclipse or the PHP sub-engine allow a single
item of syntax highlighting to have the background color changed? I mean: Could
I do that simply by downloading a new version?

2) It is clear that the "renderer" of the editor may change background colors,
as for example, the selected line has a different color. If there is no
interface for settling the config, at least could I tweak a config file directly
to achieve that?

3) If none is possible, how could I contribute to improve the code to setup that
option?

Thanks in advance for all.
Xavi.
Re: Syntax highlighting - Different background color in some items [message #314979 is a reply to message #314931] Mon, 30 April 2007 16:04 Go to previous messageGo to next message
Joe Scylla is currently offline Joe ScyllaFriend
Messages: 3
Registered: July 2009
Junior Member
Hi,

well maybe i don't understand your question but with the current version
of PDT (http://www.zend.com/pdt) it's possible to change the background
and foreground of comments in your php-code.

I don't know if PHPEclipse (http://www.phpeclipse.de/) supports that
feature.

You didn't notice what plugin you use for editing php files.

best regards
Joe



Xavier Montero wrote:
> Hello all.
>
> I think this is my first post, although I have a user created since some
> years ago. Perhaps I someday posted. Anyway hello. Here I go:
>
> - I use Eclipse for editing PHP.
> - I use white background, although I would like to use green background
> and white fore, but only for comments, the rest continuing with white
> background.
> - I think the version I use does not permit this.
> - I use Eclipse version 3.0.1 buidid 200409161125. The PHP subsystem
> should be of a similar date or so.
>
> QUESTIONS:
>
> 1) Does a newer version of either Eclipse or the PHP sub-engine allow a
> single item of syntax highlighting to have the background color changed?
> I mean: Could I do that simply by downloading a new version?
>
> 2) It is clear that the "renderer" of the editor may change background
> colors, as for example, the selected line has a different color. If
> there is no interface for settling the config, at least could I tweak a
> config file directly to achieve that?
>
> 3) If none is possible, how could I contribute to improve the code to
> setup that option?
>
> Thanks in advance for all.
> Xavi.
Re: Syntax highlighting - Different background color in some items [message #314980 is a reply to message #314979] Mon, 30 April 2007 16:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: xmontero.dsitelecom.com

Hi Joe.

> with the current version of PDT [...]
> it's possible to change the background
> and foreground of comments [...]

That was what I was looking for: To upgrade or not. I'll do. Thanks.

> You didn't notice what plugin you use for editing php files.

I don't know how to check the version of my current PDT. I installed it some
years ago and I am also unaware to remember which directory it is in.

Let me a way to find and I'll tell my current PDT version.

Thank you very much!!!!
Xavi.
Re: Syntax highlighting - Different background color in some items [message #315025 is a reply to message #314979] Tue, 01 May 2007 14:12 Go to previous message
Eclipse UserFriend
Originally posted by: xmontero.dsitelecom.com

> well maybe i don't understand your question but with the current version
> of PDT (http://www.zend.com/pdt) it's possible to change the background

Thanks, Joe.

I've updated to Eclipse 3.2, installed PDT 0.7 and the required components and
now I can do what I want.

Thanks.
Previous Topic:ContentAssist popup is not navigating to items in the list
Next Topic:Reverse color for comments
Goto Forum:
  


Current Time: Mon Aug 19 15:36:45 GMT 2024

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

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

Back to the top