[SVN] Revision 784 (HTML)

Allan Odgaard allan at macromates.com
Sat Apr 30 08:45:48 UTC 2005

On Apr 29, 2005, at 19:42, Kumar McMillan wrote:

>> The names used in the HTML language are the same as in HTML (PHP).
> as I recall, the only reason Mats made the HTML/CSS/etc (PHP) syntaxes
> was to work on a separate color scheme for PHP html pages.  Now with
> themes and scoping, we can probably delete the HTML (PHP) and CSS
> (PHP) plists in favor of HTML and CSS plists, right?

The CSS (PHP) is already gone. The HTML (PHP) is a bit different from 
HTML (Basic) in that it only highlights all known (lowercase) tags and 
known (lowercase) arguments.

There are other subtleties, like more SGML stuff in HTML (Basic) and 
markup of invalid ampersands and angle brackets, but that's easy to 
merge. The thing about tags is not.

I think Mats wanted to also do an XHTML bundle/syntax, and that's 
probably (IMO) what the HTML (PHP) should evolve into. Having the 
syntax only markup correct (XHTML) tags/arguments is very nice, but not 
very practical for all-around use (e.g., try to open 

I can extend the firstLineMatch so we can get to the DOCTYPE and choose 
syntax like that. I suggest changing the syntax to something like: 
“lineMatch[n]”, where n can be a number, a range (0-3), or maybe even * 
for “all lines”.

More information about the textmate-dev mailing list