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
I am not seeing this at all. I just drag somewhere in the before the comma, and all is good. Are you dragging outside the comma?
Small video to show it in action: http://is.gd/sJZM
On Apr 15, 2009, at 9: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?
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......
Up to *and including* the comma ...
Le 16 avr. 09 à 06:56, Dan Wood a écrit :
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......
+1
Same if you try to select up to "array()", the ");" is also included... Kind of annoying.
Mathieu
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@lists.macromates.com http://lists.macromates.com/listinfo/textmate
OK, so seeing that this is a confirmed problem and that there are multiple people bothered by it, should more people who are bothered by it "chime in" until it get fixed?
Or should we all switch back to SubEthaEdit? :-)
-- Dan Wood Karelia Software — Sandvox for the Mac : http://www.karelia.com/ Follow me on Twitter: http://twitter.com/danwood http://twitter.com/karelia
Don't hate the media, become the media. — Jello Biafra
Le 17 avr. 09 à 05:21, Oliver Taylor a écrit :
Where can we fill a bug request form? ;-)
Thank you.
For those interested by the double-click selection issue:
http://ticket.macromates.com/show?ticket_id=0A76754F
Mathieu
On 16 Apr 2009, at 19:43, Dan Wood wrote:
OK, so seeing that this is a confirmed problem and that there are multiple people bothered by it, should more people who are bothered by it "chime in" until it get fixed?
Just mentioning a problem once is enough for me to take note of it. That doesn’t mean it gets fixed right away though, and adding more “me to” generally does not change that.
As I mentioned back when Gerd initially brought this up, I did look into it, but this, together with probably a dozen minor behavior related dislikes for various editing/transformation actions, stem from how the core in 1.x works, and I will not be changing that before 2.0.
I'm bothered by this as well. I keep making the mistake to start with a double click, having to move the mouse to the right position and single-click+drag.
Jonas
Am 16.04.2009 um 05:56 schrieb Dan Wood:
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?
Pressing ⌥ when you are over the end position, gives a temporary solution to the problem.
/Björn