[TxMt] Re: XML Macro to close the current tag

Tom Lazar tom at tomster.org
Thu Oct 13 10:58:09 UTC 2005


On Tue, 11 Oct 2005 11:48:08 +0200, Jon Evans  
<jon.evans at pobox.com> wrote:

>> and you hit ctrl-space, it would append </div> to that line.  Has  
>> anyone
> written a macro to do that?  I would imagine it could get quite  
> complicated, XMLBuddy will still append </div> even if the edit buffer  
> looks like this:
>
> <div><p>some text</p>|
>
> so it isn't just reading back to the first <:alpha:+>.

alt-cmnd-. does the trick in textmate, i use it all the time ;-)
>
> I know about the <[tab], >[tab] and <a[tab] snippets, but I always  
> forget to use them.  I could probably learn, given time...
>
> Jon
>
>
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/




More information about the textmate mailing list