<div dir="ltr">great idea! if no one has written this I *may* give it a stab when I have time.<br><br><div class="gmail_quote">On Mon, Aug 11, 2008 at 1:41 AM, Timothy Bates <span dir="ltr"><<a href="mailto:timothy.c.bates@gmail.com">timothy.c.bates@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi,<br>
just wondering if anyone has written a command to renumber the<br>
${1:var} items in a snippet? I find myself doing this quite often when<br>
developing a new snippet and it is a bit tedious.<br>
<br>
Ideally, the command would allow you write a snippet like this<br>
<br>
${n:not sure${n:about} the ${n:order) ${n:yet ${n:but that no longer<br>
matters}}<br>
<br>
and have the command turn it into<br>
<br>
${1:not sure${2:about} the ${3:order) ${4:yet ${5:but that no longer<br>
matters}}<br>
<br>
as well as coping with<br>
<br>
${1:not sure${2:about} the ${3:order) ${n:oops, added this!} ${4:yet<br>
${5:but that no longer matters}}<br>
<br>
--><br>
<br>
${1:not sure${2:about} the ${3:order) ${4:oops, added this!} ${5:yet<br>
${6:but that no longer matters}}<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</blockquote></div><br></div>