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

Dan Wood dw43843 at karelia.com
Thu Apr 16 04:56:53 UTC 2009


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?


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





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20090415/291d712b/attachment.html>


More information about the textmate mailing list