[TxMt] Re: How to fix code colours and code checking for php?

Timothy Bates timothy.c.bates at gmail.com
Mon Aug 10 09:34:37 UTC 2009


Just use HTML as your heardoc string

i.e.,
$test = <<<HTML
   <p>colored as html</p>
HTML

courtesy of infininight
tim

On 9 Aug 2009, at 8:56 PM, Fabio wrote:

> Further more I often use php HERE DOCUMENT feature so if I type
> something like:
>
> $test = <<<TEST
> 	this should be normal html code and I would like to have it coloured
> like html text and tags.
> 	But this not happens in textmate.
> TEST;
>
>
> Is there any way to have it coloured like html code while inside  
> there?
>
> thanks!
>
> --
> yours
>
> Fabio
>
>
>
>
>
> --
> Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e  
> SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
>
> Sponsor:
> Last Minute a Riccione. Scopri le offerte su vacanzedivertenti.it
> * Buona Vacanza!
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9391&d=9-8
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate




More information about the textmate mailing list