Thanks for your other tips, see comments below...
On Apr 2, 2009, at 12:29 AM, Hans-Jörg Bibiko wrote:
The Macro has two commands executeCommandWithOptions { beforeRunningCommand = nop; command = "perl -pe 's/[\t ]+$//g'"; input = document; output = replaceSelectedText; }
What happens if you replace "document" by "selection" ?
I solve the issue of the selection getting replaced by something, but the stripping of tabs and spaces no longer works.
After editing such a tm* file you have to Flush Cache & Reload Bundles (Bundles > Bundle Editor > press ⌥ > Flush...) or simply restart TM.
Thanks -- Scott * If you contact me off list replace talklists@ with scott@ *