[SVN] Revision 1328 (HTML)

Allan Odgaard allan at macromates.com
Tue Jul 12 14:41:06 UTC 2005


• added rule to match (selected) empty tag pairs (<foo></foo>)
• added snippet which inserts an extra newline (and indent) which triggers on return in an empty tag pair

This means that if you do:
   div<ctrl space><return>
You'll get (| is the caret):
   <div>
      |
   </div>
Instead of:
   <div>
      |</div>

Changed:
A   trunk/Bundles/HTML.tmbundle/Snippets/Smart return:indent for tag pairs.plist
U   trunk/Bundles/HTML.tmbundle/Syntaxes/HTML.plist
U   trunk/Bundles/HTML.tmbundle/info.plist



More information about the textmate-dev mailing list