[TxMt] Re: Double-click then drag is too "greedy"

Gerd Knops gerti-textmate at bitart.com
Thu Apr 16 17:38:22 UTC 2009


On Apr 15, 2009, at 11:56 PM, Dan Wood wrote:

> Not sure if this is a bug or feature.  I've found that the text  
> selection behavior upon double-clicking, then dragging, is way too  
> "greedy" of characters.  Is this something that can be fixed, or  
> overrridden?
>
It is an extremely annoying behavior I have requested to be improved  
since the early days of TM. It is my single biggest frustration with  
TM. Not likely we will see it ever changing in TM1. Maybe 2.0 will  
improve this, should it ever see the light of day.

Gerd

>
> For instance, let's say you double click on the 'doQueryParams' in  
> this snippet of PHP:
>
> doQueryParams($query, array() );
>
> .... then drag to the right.  Let's say that I want to select up to  
> and including the comma after "$query".  Well, I can't - the  
> selection jumps to the end of "array".
>
>
> Other editors like SubEthaEdit or TextEdit do what I would expect --  
> the non-alpha characters are selected individually, so I can select  
> the comma, the space, and then if I continue on it will select the  
> whole word 'array', then each parenthesis, etc.
>
> Is it just me that's driven absolutely mad by this?  It really slows  
> me down......
>
>
> Dan
>
>
>
> --
> Dan Wood
> Karelia Software — Sandvox for the Mac : http://www.karelia.com/
> Follow me on Twitter: http://twitter.com/danwood http://twitter.com/karelia
>
>
> It is the habit of every aggressor nation to claim that it is acting  
> on the defensive. — Jawaharlal Nehru
>
>
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate




More information about the textmate mailing list