Hi

Thanks for posting this. I have a DRYML mode that I use but it's a bit  
broken (I never learnt textmate language definitions properly) so I've  
not shared it.

A couple of comments on yours

  - I don't think we want to list all the names out as special, e.g.  
like you've done with head, body etc etc. A tag is just a tag, and  
"our" tags should not be highlighted differently from "your" tags.

  - We need a capture for the name that shows up in a <def> or an  
<extend> so that we can put them in the symbols menu, which also gives  
very nice fast navigation with cmd-shit-T.

I have this in the language

{       name = 'tag.def.dryml';
        match = '^\s*<(?:def|extend)\s+tag="([^"]*(?:.*for="[^"]+)?)';
        beginCaptures = { 1 = { name = 'tag.def.dryml.name'; }; };
}

and this in the preferences

{       showInSymbolList = 1;
        symbolTransformation = '
       s/" for="/ for /g;
    ';
}

But unfortunately it breaks the syntax highlighting on the <def> and  
<extend> lines.

Any ideas?

Tom

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to