textmate/php.tmbundle

PHP syntax highlighting

dijitaltrix opened this issue · 4 comments

Description:

PHP Syntax highlighting does not seem to pick up the opening <?php tag inside an HTML tag.
Using TextMate version 2.0-alpha.9443
For reference Textmate < v2 handled this correctly.

Actual and Expected Results:
Please see attached image showing how the PHP code renders inside a tag, and how it renders outside a tag.

screen shot 2013-07-26 at 11 49 45

@infininight Please, look at this one if you'll have some time to space. Wrong highlighting makes code unreadable. Tried fixing myself but language files are still something that's beyond my understanding and PHP language file is almost 1.5k lines.

Subscribing. I reported this in an email last August but forgot to report it here.

It does make reading the code difficult but I've lived with it. Hopefully somebody can get some time to crank on it soon.

screen shot 2013-08-23 at 11 18 10 am
screen shot 2012-08-08 at 11 11 43 pm

For reference, I cannot reproduce the behavior with v2.0-alpha.9479

Still reproducible on 9479.
screenshot 2013-09-29 02 05 16