[TxMt] Re: hang (sort of) when we right-arrow over a right-curly-brace
Matt Neuburg
matt at tidbits.com
Sun Sep 7 15:45:48 UTC 2014
Wasn't trying to yank your chain, sorry; glad this is known. One thing that might help here is some intelligent scoping; there's no need to look back more than a dozen characters, because the scope in which the curly braces are meaningful comes to an end at that point. Not sure how TM could be told about that... m.
On Sep 7, 2014, at 2:44 AM, Allan Odgaard <mailinglist at textmate.org> wrote:
> On 7 Sep 2014, at 3:49, Matt Neuburg wrote:
>
>> If I'm repeatedly typing right-arrow to move the cursor position to the right, and the character I pass over happens to be a right-curly-brace that isn't balanced by a nearby left-curly-brace, TM seems to hang. It does recover, but it scares the pants off me every time it happens.
>
> As mentioned previously¹, the function is slower than it needs to be because it always uses regular expressions for the search, improving it is on the to-do.
>
> ¹ http://lists.macromates.com/textmate/2014-April/037237.html
>
--
matt neuburg, phd = 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
More information about the textmate
mailing list