More generally, if you're happy playing around a little, and know something about a scripting language, then  "Text => Filter through command..."  has a heap of power. For example, entering

   perl -pe 's/^/sprintf("%2d ",$.)/e'

does what you're seeking. 

Cheers,
Paul



On Tue, Apr 23, 2013 at 9:54 PM, Hans-Jörg Bibiko <bibiko@eva.mpg.de> wrote:
Hi, if the task only is to insert numbers from 1 to x then you can play maybe with the function "Bundles > Text > Add Line Numbers to Selection" which simply applies the Bash commands "cat -n|expand -8" to the selection or the entire document.


Cheers,

Hans

_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate