[TxMt] Force Tabs with snippets

Helmut Granda contact at helmutgranda.com
Fri Jun 1 16:11:21 UTC 2007


hummm... thanks for the recommendation, I'll try to figure out how to do it
with a command.

Thanks!


On 6/1/07, Ciarán Walsh <ciawal at gmail.com> wrote:
>
> You could maybe achieve this with some clever format strings, but
> it's going to be easier (and clearer) to just do it with a command
> instead.
>
> On 1 Jun 2007, at 16:21, Helmut Granda wrote:
>
> > Hi All,
> >
> > I am creating snippets and I was wondering if there is a way to
> > force tabs to follow similar lines...
> >
> > Sample
> >
> > Snippet 1
> >
> > mytext -> -> -> Text
> >
> > Snippet 2
> >
> > (listens to line above and uses the tabs necessary to align Text in
> > next line
> >
> > mytexttwo -> -> Text
> >
> > So it would look like this:
> >
> > mytext -> -> -> Text
> > mytexttwo -> -> Text
> >
> > I can create two different snippets that use 1 or 2 or 3 tabs as
> > neccesary but since i will never know what mytext will be I need to
> > create the tabs in some kind of dynamic way.
> >
> > Any ideas?
> >
> > ______________________________________________________________________
> > 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
>
>
> ______________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070601/28d31daa/attachment.html>


More information about the textmate mailing list