Bug 57193 - [navigation] Select To the end of the word
Summary: [navigation] Select To the end of the word
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P4 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-02 02:06 EST by Max Gilead CLA
Modified: 2004-07-26 03:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Gilead CLA 2004-04-02 02:06:29 EST
Currently when jumping by words (Ctrl+Right) cursor is placed at the beginning
of next word. Maybe it's only me but I can't imagine situation when I would want
to need cursor there - it should be always at the end of last word. Current
behavior requires me to go back each time I try to select eg. class or variable
name - one more key typed in such frequent operation is an important issue.
Comment 1 Dani Megert CLA 2004-04-02 02:45:18 EST
All editors I know behave like Eclipse when pressing Ctrl + Right Arrow

However, your request is valid and asks for a "Goto end of word" command. We
will not change the current key binding but once the command is implemented you
can bind it to Ctrl+Right Arrow if you like.

Comment 2 Tom Hofmann CLA 2004-04-02 04:35:34 EST
hm, I don't agree, Dani. I would want the jump behaviour to be as it is
currently (go to the beginning of the word), but change the behaviour if I have
a selection, i.e. have  Shift pressed.

Gedit always goes to far end of the next word (What you call Goto end of word),
which is not good when navigating forward to the start of a possible selection.
Comment 3 Tom Hofmann CLA 2004-04-02 04:59:21 EST
Clarifying comment 2: 

I *agree* that we should have a different commands for the requested
functionality. It's the the users choice which commands to bind to jumping
(Ctrl+Arrrow) and selecting (Ctrl+Shift+Arrow).
Comment 4 Max Gilead CLA 2004-04-02 07:24:38 EST
My fault - I forgot to specify that indeed I meant selection, ie. Ctrl+Shift+Right