[TxMt] Force Tabs with snippets

Helmut Granda contact at helmutgranda.com
Fri Jun 1 15:21:33 UTC 2007


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070601/29c71684/attachment.html>


More information about the textmate mailing list