On Mar 29, 2006, at 11:01 AM, Charilaos Skiadas wrote:

On Mar 29, 2006, at 2:58 AM, Trevor Harmon wrote:

The thought of all that redundancy bothers me; perhaps there's some way of "subclassing" the XML language type? Or is there an entirely different way to handle this kind of thing?

It's called:
include='text.xml';
just create a new language with this in its patterns, that should do it, I think. You could even override some of the scopes to get finer results, if desired.

Interesting; that works, but only if I put it in the XML bundle. If I try to put the QEL language definition into its own bundle, then TextMate starts thinking all XML files are QEL files. (Is this a bug or a feature?)

Also, include='text.xml' only seems to work for the patterns field. I find that I have to cut-and-paste the XML definitions of folding*Marker, firstLineMatch_disabled, and repository into the QEL language definition, instead of just including them. Or am I missing something? Thanks,

Trevor