I think i'm set for now. I've learned quite a bit from this thread. Thanks all.
On 7/20/06, Allan Odgaard throw-away-1@macromates.com wrote:
On 19/7/2006, at 17:45, Eric D. Fields wrote:
[...] is it possible get TM to close all the tags on the current line you're working on?
The Insert Close Tag is a small Ruby script in the HTML bundle. It takes as input the entire document, parses that, and inserts (as a snippet) the missing close tag.
With a few modifications this script could be made to work only for the current line instead.
As for <span class="something"> one can also use ⌃< with a selection (to use the selection as the tag, where it will strip arguments when mirroring — however, I would make a dedicated snippet for this, if I used it a lot (we do have one for div.)
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate