TextMate Upgrade Destroyed or Misplaced HTML(PHP) Bundle?
November 20, 2006
Does any TextMate user out there have an idea why (or where, rather) my HTML bundle has gone? I hadn’t upgraded TextMate in ages (should have known better than to try and fix something that wasn’t broken) and finally did so – which brought my version up to 1.5.4 (1324). I had a bundle that I used where the HTML was properly colored, and the PHP in the HTML was colored correctly as well. Now, if I select HTML, all my PHP is red. Everything. The variables, the single-quoted strings, you name it. Setting my bundle to PHP reverses this – every last bit of HTML is red, but the PHP is colored as it should be. Using the scope selector in HTML (Shift-Control-P) all I see that I can alter is “source.php.embedded.html”. Using scope selector over some HTML in PHP mode shows me only “source.php”. I think something got seriously borked.
Can a TextMate guru tell me how I can get back to the combination of the HTML and PHP bundles, please? This is…just not pretty to look at.
UPDATE: I think one problem I see is that scope is NOT going deep enough anymore. For example, if I’m in HTML and I hover over “drawrating” this text:
<?php require('_drawrating.php'); ?>
I get:
text.html.basic
source.php.embedded.html
But if I’m in PHP, hovering over the same text supplies:
source.php
string.quoted.single.php
I think what I ideally need is to be in HTML and see this when I use the scope selector, over that particular piece of text:
text.html.basic
source.php.embedded.html
string.quoted.single.php
I really wish TextMate had forums as that mailing-list stuff seems so old school, and it’s quite a turn-off. Any help at restoring my HTML language will be appreciated!
SOLVED: I joined the mailing list, and Allan told me to restore the default bundles, which I did. That worked like magic!