On 9. Mar 2007, at 20:26, smarks.other wrote:
[...] I was really hoping the such a feature prefix lines would be a non brainer, but I guess it isn't.
Well, I know you said no regexps, but it really is dead simple, enable the regexp checkbox and then:
Find: .+ Replace: «prefix»$0«suffix»
Now hit “Replace All” or hold ⌥ and use the “in Selection”.
[...] I wonder how much work would be involved to write a bundle that offered this functionality. I suspect too much or some one would have done it already.
Five minutes to make a command that encapsulates the above regexp replace (using Dialog.request_string for the prefix/suffix), but spending five minutes learning about regexps would be a better investment of time ;)