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

Alex Ross alex.j.ross at gmail.com
Tue Nov 21 19:23:08 UTC 2006


I was able to fix this by opening the PHP and HTML language grammars  
in the Bundle Editor, and clicking "Test".

- Alex

On Nov 21, 2006, at 11:11 AM, Brian Landau wrote:

> 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
>
> <HTMLview.jpg>
> <PHPview.jpg>
>
> ______________________________________________________________________
> 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




More information about the textmate mailing list