On 9 Dec 2009, at 19:11, Martin wrote:
what do I have to do if I want to convert from array.each { |e| puts e } to array.each do |e| puts e end
I found the command toggle 'do ... end' / '{ ... }' but I don't know exactly how to use it. Where has the cursor to be positioned? Do I have to select any text? The shortcut ^{ won't work because I have a German keyboard. But even if I choose the command from the menue nothing happens.
I've found this stopped working with the latest version of TextMate. Presuming changing the path screwed the script somehow but I've not had a chance to investigate it yet.
C --- Caius Durling caius@caius.name +44 (0) 7960 268 100 http://caius.name/