On 6. Nov 2006, at 06:01, xolela@mac.com wrote:
I had tried that earlier. It does not do what I want ie it gives: [...]
It is for single lines only, yes.
I have the tcl proc - attached below - (originally by Vince Darley) that does what I want in alphax & I am sure that it can be converted for use in textmate by someone that has more knowledge of ruby than I do.
Port 160 lines of tcl code? I think just writing something from scratch is easier, here’s a simple 5-line version. It has hardcoded comment characters and is unfortunately not UTF-8 aware (as there seems to be no version of ljust for this).