Page 1 of 1

Colours of "punch-in" code (PHP)

Posted: Tue Dec 02, 2003 8:18 pm
by Weird Al
I now use TextPad for PHP, and noticed that the syntax definition file has a code-start property. This is obviously handy because PHP is only half PHP a lot of the time.

Anyway, it'd be useful to have a separate colour property for non-code text, so we can see which areas of the file are part of the text, and when we've forgotten to close it, and such. As it is, anything that's not a keyword is black.

It'd be useful to have "irrelevant" text greyed out, like comments are.

Posted: Wed Dec 03, 2003 10:46 am
by ramonsky
Actually, the "irrelevant" text is usually code in another language. As such, it should be colored in the color scheme appropriate to that other language.

There's a separate thread on this this here. It's even got a poll! :)

Posted: Wed Dec 03, 2003 1:36 pm
by Weird Al
Ah, I was looking somewhat half-heartedly for a thread but didn't find one. At least the little people are being noticed! Thanks :)