Re: syntax highlighting
| From: | Gabor Hojtsy | Date: | Wed, 28 Aug 2002 18:08:30 +0000 |
| Subject: | Re: syntax highlighting | ||
| References: | 1 | Groups: | php.doc.chm |
| Request: | Send a blank email to php-doc-chm+get-406@lists.php.net to get a copy of this message | ||
> I have noticed a problem with the syntax highlighting. if you jump to
> example 3 on page "Main : Language Reference : Basic syntax : Comments"
you
> will see that nesting comments is not performed properly. I might also
> suggest that every other nested comment has a slightly different color as
it
> took me a number of seconds to see that there was a nested comment in
> this example.
This is a PHP bug. The color coding is provided by the highlight_string()
PHP function. Please submit this as a PHP bug at http://bugs.php.net/
> if you navigate to "Main : FAQ: Frequently Asked Questions : PHP and HTML"
> you will see some code examples that look kinda storage. this is because
the
> background color of both the table and the examples are the same. could
the
> table or example change its bg color or in the event they are nested,
invert
> to the bg color?
If you can invent a CSS solution for this :) BTW as guys requested the FAQ
should not be displayed with a gray background, so that table layout will go
out (or at least won't be this visible), so there is no need to put time
into
this ;)
Goba