[TxMt] Automation Questions

Eric D. Fields eric_fields at emerson.edu
Fri Jul 21 16:24:38 UTC 2006


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 at 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 at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>


-- 
eric


More information about the textmate mailing list