[TxMt] Re: Strange multi-caret behavior in Ruby block
matt at tidbits.com
Wed Feb 19 18:37:33 UTC 2014
At first I couldn't reproduce this. I typed in an empty Ruby document:
"a.each do" [Tab]
a.each do |variable|
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
All will be well, I think... m.
On Feb 19, 2014, at 9:36 AM, Koen Punt <koen at 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?
> textmate mailing list
> textmate at lists.macromates.com
matt neuburg, phd = matt at 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
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
More information about the textmate