Ciar?n, (letter from your name got replaced, so don't know what your
full name is, sorry!)
I have made another very minor change to support the new "nowdoc"
functionality in PHP 5.3.0:
{ name = 'meta.scope.heredoc';
begin = "(<<<('?)HTML\2)";
end = '^(HTML);';
captures = { 1 = { name = 'keyword.other.heredoc'; }; };
patterns = ( { include = 'text.html.basic'; } );
},
This uses the same rule for matching HTML or the new 'HTML' syntax.
One potential issue would be if there's any PHP code in the new
"nowdoc" that it could potentially play some mind games on TextMate's
syntax highlighting, code folds, etc. since PHP code would be legal
within the nowdoc. However, in many cases the embedded PHP code would
not flow well with the rest of the script. Not sure if this will
become a big problem for people, but it is a possibility...
-Andrew
– –
Andrew Hanna
Sevenlight Inc.
http://www.sevenlight.com/
ph 403.770.9544
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev