Bug 261 : double-click of a word with an underscore only selects the double-clicked portion, not the entire text
Last modified: 2006-11-11 01:14




Status:
RESOLVED
Resolution:
WONTFIX -
Priority:
P4
Severity:
enhancement

 

Reporter:
gabon
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-12-21 00:28
Hi Ben, since I saw you started refining the IDE usability I'd like to tell
you that I found quite annoying the fact that the double click on a word
doesn't select it entirely if it contains "_". Since probably almost all
the other editors do that it's a bit annoying.
Another simple thing that I like from other editors, and probably is easy
to implement, is that with CTRL+d you duplicate the current code line.
For sure you were already aware about them and have some good reasons why
you didn't implement them yet but since I think they would be useful, and
hope not so difficult to implement, I cared to let you know.

Thanks, chr
Additional Comment #1 From fry 2005-12-21 08:56
there's nothing that's changed that should affect double-clicking, i think it's in your head.

and for the ctrl-d thing please file a separate bug.
Additional Comment #2 From gabon 2005-12-21 09:12
sorry for having put the ctrl-d in the same report.

sorry, I haven't been clear :(
The doubleclick thing has always been like that :)
Didn't definitely change between issues.
It was just a proposal, if possible, for next revision.

Sorry for the missunderstanding, chr

P.S.: My head is already full with many other things :D
Additional Comment #3 From gabon 2005-12-21 10:58
Am I wrong or also the "Severity" was set as "enhancement"?
But maybe also this was in my head :D

chr
Additional Comment #4 From fry 2005-12-23 15:11
enhancement means feature request.
Additional Comment #5 From gabon 2005-12-25 11:51
So that, it has never been added, so no change untill it will be :)

chr
Additional Comment #6 From fry 2006-11-10 07:19
looking at this again, the current behavior is actually a feature of
programmer's editors.

for instance, the double-clicking the constant HALF_PI in the "HALF"
section should only select HALF, not the entire constant. movement around
the text in programmer's editors is helped by breaking things into such units.
Additional Comment #7 From gabon 2006-11-11 01:14
Hi Ben, well, the IDE I use (Eclipse included) on double click select the
all variable name. And to be honest I find it very handy. No doubt that
sometimes could be useful the partial selection, but to be honest I reckon
the it is much less needed. Especially if we consider that the IDE doesn't
help with auto completion or name checks, so copy and paste is often the
way to go. If it would be possible to change and you have doubts on its
utility, the coolest way could be to make a survey in the forum. "Vox
populi" always rules ;)

P.S.: CTRL+D to duplicate the current line of code the cursor is, is
another shortcut I found in general useful on some text editors.