[TxMt] Can someone bring back HTML (PHP) bundle?

Brian Landau brianjlandau at gmail.com
Tue Nov 21 19:11:30 UTC 2006


Well I'm getting the same sort of problem I've included screen shots of what
a .php document looks like when classified as both HTML and as PHP.

In one case the HTML is colored properly and in the other the PHP is, but we
can't seem to get both?

-Brian

On 11/21/06, Allan Odgaard <throw-away-1 at macromates.com> wrote:
>
> On 21. Nov 2006, at 16:45, Ryan Masuga wrote:
>
> > I hadn't upgraded Textmate in quite a while and just recently did
> > so (I think I had 1.2, and I'm at 1.5 now - needed to do this to
> > get the GetBundle Bundle to work) and I noticed that the HTML (PHP)
> > language selection is gone - now either HTML or PHP is all red,
> > rather than both languages being colored correctly at the same
> > time. I was reading a little in the lists and see that PHP is more
> > of a 'top level' language now, but for those of us who have pages
> > filled with HTML and PHP I'd love to see these files colored that
> > way they were before.
>
> Use HTML for those pages, it has always been like that. The PHP
> grammar is to be included by other grammars, not used stand-alone. I
> only partially made the possible because regardless of my efforts,
> people kept selecting it for their HTML files with PHP, and then sent
> me bug reports about e.g. treating stuff outside <?php … ?> as code etc.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20061121/96422531/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HTMLview.jpg
Type: image/jpeg
Size: 227748 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061121/96422531/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PHPview.jpg
Type: image/jpeg
Size: 219831 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061121/96422531/attachment-0001.jpg>


More information about the textmate mailing list