Hershel Fisch wrote:
Hi all, I'm wondering why when hit colorize (in one of the script menu's
every thing turns purple as for comments.
You may have hit the same issue as Andre did a while ago - what I found
then was as follows (I'm sure I BZ'ed it then - but can't find it; I
will BZ it later once I'm sure it's not creating a duplicate ....)
But I like colorized scripts, so first thing I did was look at the
colorize problem.
It's not caused by the complexity of the script - it seems to be just
a result of your commenting style. I'll check into this some more and
enter a BZ if I can confirm it completely, but I am already 95% sure
that colorize can't deal with a block comment that finishes with the line
**/
You have some block comments like
/*
* some text
**/
Just changing the last line to
* */ (i.e. adding a space between the two asterisks) prevents the
colorize problem (in my small sample cases).
I did a find/replace "**/" to "* */" on your lib script, and it now
colorizes OK.
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.12 - Release Date: 17/05/2005
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution