[TxMt] coloring different for PHP string and HTML string
Timothy Bates
timothy.c.bates at gmail.com
Thu Dec 22 18:11:29 UTC 2005
On 22/12/2005, at 5:17 PM, lahdyfreekindah @hotmail.com wrote:
> Hello, I am new to TM and was wondering if there was a way to color
> strings in PHP one color and strings/values in HTML a different color.
Some themes (Preferences:Fonts & Colors: ) color php code with a
distinctive back ground. But string parameters in html and strings in
php are not distinguished.
To get that happening, you'd have to change the name of the regular
expression that defines strings in one or other language bundle (php
or html) and then attach it to a new or different style element.
But having the php and html distinguished might be what you want?
strings should look like strings no matter where, i'd guess.
tim
More information about the textmate
mailing list