[SVN] r2995 (Ruby)

Allan Odgaard throw-away-1 at macromates.com
Tue Apr 11 03:03:27 UTC 2006


• enhanced Toggle Block functionality. It now calls a script by James Edward Gray II, so it is much smarter (e.g. adding ; when collapsing a block with multiple lines), and it will preserve the carets position.

Selecting the block, prior to calling the script, is done by two regexp searches. These currently are prone to errors, in particular, when a do/end block embeds the end keyword, or when a bracket block embeds a close bracket.

Changed:
U   trunk/Bundles/Ruby.tmbundle/Macros/Toggle Single : Multi Line Block.plist
A   trunk/Bundles/Ruby.tmbundle/Support/bin/
A   trunk/Bundles/Ruby.tmbundle/Support/bin/toggle_block.rb



More information about the textmate-dev mailing list