[TxMt] BBCode syntax highlighting

Brian Lalor blalor at bravo5.org
Sat Aug 6 14:38:49 UTC 2005


On Aug 5, 2005, at 6:36 PM, Allan Odgaard wrote:

> To match [php]...[/php] you'd add this rule to it (you probably  
> want to remove the two default rules in this array):
>
>     {   name = "source.php.embedded.bbcode";
>         begin = "\\[php\\]"; end = "\\[/php\\]";
>         patterns = (
>             { include = "source.php"; }
>         );
>     },

Does this enable folding markers within the nested PHP?

--
Brian Lalor / blalor at bravo5.org
     Notmeflex (nŏt mē´ flěks) n. The involuntary act of hitting  
the brakes
     when you see a cop, regardless of whether you're speeding or not.





More information about the textmate mailing list