Nice movie!
At first I couldn't reproduce this. I typed in an empty Ruby document:
"a.each do" [Tab]
This generates
a.each do |variable|
end
with "variable" selected. I then hit Delete (backspace) and the cursor is left blinking after "do" and nowhere else. Nesting do-end structures did not cause me to see what your movie shows.
However, then I typed exactly what you had, and I did reproduce the issue.
I conclude that it has to do with the symbol sitting alone on the line. If you will write
namespace(:nginx) do
end
All will be well, I think... m.
On Feb 19, 2014, at 9:36 AM, Koen Punt koen@koenpunt.nl wrote:
When removing the argument of an autocompleted block and pressing return will result in multiple carets spread over 3 lines. (see attached video). Anyone else noticed this behavior? Maybe also in other languages/grammars?
Koen
<ruby-multi-caret.mov> _______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com