That didn't work for me, and I didn't really expect it to. What I want is the PHP sections to not only have that blue background but also the syntax coloring that they would have if I selected PHP as the language scope.

-Brian


On 11/21/06, Alex Ross <alex.j.ross@gmail.com> wrote:
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@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@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@lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate


______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate



--
––––––––––––––––––––––––––––––––––––
Brian Landau
UNC - Chapel Hill
School of Library and Information Science (SILS)
http://macevangelism.blogspot.com/
http://www.claimid.com/brianjlandau
AIM: Zippi Bat
––––––––––––––––––––––––––––––––––––