Out of curiosity, is it possible to move text to a certain column? I noticed that I can get the information for the column where the caret is located at, but not sure if we can send text to a certain column...

On 6/1/07, Helmut Granda <contact@helmutgranda.com> wrote:
Wow, this really doesnt make sense to me... time to hit the docs.

Thanks!


On 6/1/07, Allan Odgaard < throw-away-1@macromates.com> wrote:
On 1. Jun 2007, at 18:11, Helmut Granda wrote:

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

A simple one would be:

     unexpand -t $TM_TAB_SIZE <<'SNIPPET'
     «your snippet»
     SNIPPET

In «your snippet» you would use spaces instead of tabs and only start
columns at offsets dividable by 24, that would then convert properly
to tab sizes 2, 3, 4, 6, 8, 12, and 24.


______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate