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.
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......
It is the habit of every aggressor nation to claim that it is acting on the defensive. — Jawaharlal Nehru
textmate mailing list email@example.com http://lists.macromates.com/listinfo/textmate