Skip to main content



      Home
Home » Newcomers » Newcomers » Change double-click selection behavior in editor.
Change double-click selection behavior in editor. [message #652961] Mon, 07 February 2011 13:45 Go to next message
Eclipse UserFriend
Hello all!

My observations:

  • When we double-click on an element in source code Eclipse selects identifier, keyword or code block.
  • Then when we quickly enough do third click it extends selection a little bit, most of the time to select whole line (although this depends on what was previously selected by double-clicking).
  • When we do fourth click it resets selection.


What would be perfect though is being able to override this behavior to perform "Select Enclosing Element" command on third, fourth, fifth and subsequent clicks.

I understand that I can use "Shift+Alt+Up" for doing that, but I think it would be much better to do it with a mouse. At least why the heck it selects a whole line on the third click? I've never been able to found any use for that. But that's my IMHO, of course.

Anyway, could you share your suggestions for achieving what I described above?
Re: Change double-click selection behavior in editor. [message #653019 is a reply to message #652961] Mon, 07 February 2011 21:33 Go to previous message
Eclipse UserFriend
On 2/8/2011 12:15 AM, bobby wrote:
> Hello all!
>
> My observations:
>
> When we double-click on an element in source code Eclipse selects
> identifier, keyword or code block. Then when we quickly enough do third
> click it extends selection a little bit, most of the time to select
> whole line (although this depends on what was previously selected by
> double-clicking).
> When we do fourth click it resets selection.
>
>
> What would be perfect though is being able to override this behavior to
> perform "Select Enclosing Element" command on third, fourth, fifth and
> subsequent clicks.
>
> I understand that I can use "Shift+Alt+Up" for doing that, but I think
> it would be much better to do it with a mouse. At least why the heck it
> selects a whole line on the third click? I've never been able to found
> any use for that. But that's my IMHO, of course.
What if you wanted to copy the whole line :) I think this is a pretty
standard text editor behavior.
>
> Anyway, could you share your suggestions for achieving what I described
> above?
Previous Topic:Store the results for a math problem
Next Topic:Ganymede System Path Entries
Goto Forum:
  


Current Time: Thu Nov 06 20:24:26 EST 2025

Powered by FUDForum. Page generated in 0.09119 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top