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.
On Tue, Apr 23, 2013 at 9:54 PM, Hans-Jörg Bibiko firstname.lastname@example.org 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.
textmate mailing list email@example.com http://lists.macromates.com/listinfo/textmate