[TxMt] Re: toggle 'do ... end' / '{ ... }'

Matt Neuburg matt at tidbits.com
Thu Dec 10 02:48:43 UTC 2009

On 12/9/09 11:11 AM, in article 4B1FF66D.4000603 at gmx.de, "Martin"
<html-kurs at gmx.de> 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?

On my machine it works best if the selection point is between the
But I do not download minor updates, so it may be that something has changed


matt neuburg, phd = matt at tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!

More information about the textmate mailing list