[TxMt] Re: PHP and HTML Syntax Coloring

Scott Haneda talklists at newgeo.com
Thu Sep 10 06:35:06 UTC 2009


 From what I understand, TextMate just figures it out.  Set your mode  
to html, and it will color the html, but be smart enough to know what  
bits are in the php blocks, and color those.

I work exclusively in html mode, php seems to be colored fine in that  
mode as long as you have it in the usual <?php ?> block.

On Sep 9, 2009, at 10:57 PM, Ibrahim Ezzy wrote:

> Hi,
>
> I'm sure this must've been asked a hundred times already, but I  
> couldn't
> google a decent answer for this: How do I enable syntax color for  
> HTML in a
> PHP file, or vice versa.
>
> If its a PHP file I'm working on, HTML turns grey.
>
> I'd greatly appreciate any help. Thanks!

-- 
Scott * If you contact me off list replace talklists@ with scott@ *




More information about the textmate mailing list