Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Mouse selection vs. ctrl-arrow
Mouse selection vs. ctrl-arrow [message #158467] Wed, 12 May 2004 18:56 Go to next message
Ken Collins is currently offline Ken CollinsFriend
Messages: 15
Registered: July 2009
Junior Member
I have smart cursor positioning selected in the Java editor typing
preferences, and I like the way it works for the most part. What I find
annoying is that ctrl-arrow moves past the end of a word to the beginning
of the next word, over punctuation marks.

I'd like to see it work more like mouse selection, where double-clicking
highlights the word up to but not including spaces or punctuation.

I checked the bug list and didn't find anything. If this
annoys anyone else, I'll submit a feature request.
Re: Mouse selection vs. ctrl-arrow [message #158507 is a reply to message #158467] Wed, 12 May 2004 21:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rhill2_._free.fr

Ken Collins wrote:

> I checked the bug list and didn't find anything. If this
> annoys anyone else, I'll submit a feature request.

yup.. little annoyance but still..

-- gd
Re: Mouse selection vs. ctrl-arrow [message #158514 is a reply to message #158467] Wed, 12 May 2004 21:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kariem_h.hotmail.com

Hi Ken,


I assume this is the standard behaviour for Windows. I just tested it.
The problem might not be the selection itself but pasting the text after
copying it into the clipboard.

Something like "smart-paste" as in MS Word would be a nice-to-have:

Try this in Word

- Select a word with CTRL-SHIFT-Arrow from the middle of a sentence
- CTRL-X (cut)
- The clipboard should now hold ("yourword ")
- Move the cursor to the end of a sentence (just before the ".")
- CTRL-V (paste)

=> it inserts the following string: " yourword". Because that is the way
it fits best.


I think the preference set by "Editor" > "Typing" > "Escape text when
parsing into a string literal" does something similar. When you paste
text with special characters (e.g. from an XML source) into a Java
String the quotation marks are escaped. I would call that nice feature a
"smart-paste" :)


Kariem



Ken Collins wrote:
> I have smart cursor positioning selected in the Java editor typing
> preferences, and I like the way it works for the most part. What I find
> annoying is that ctrl-arrow moves past the end of a word to the beginning
> of the next word, over punctuation marks.
>
> I'd like to see it work more like mouse selection, where double-clicking
> highlights the word up to but not including spaces or punctuation.
>
> I checked the bug list and didn't find anything. If this
> annoys anyone else, I'll submit a feature request.
Re: Mouse selection vs. ctrl-arrow [message #158535 is a reply to message #158467] Thu, 13 May 2004 07:43 Go to previous messageGo to next message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=57193

Ken Collins wrote:
> I have smart cursor positioning selected in the Java editor typing
> preferences, and I like the way it works for the most part. What I find
> annoying is that ctrl-arrow moves past the end of a word to the beginning
> of the next word, over punctuation marks.
>
> I'd like to see it work more like mouse selection, where double-clicking
> highlights the word up to but not including spaces or punctuation.
>
> I checked the bug list and didn't find anything. If this
> annoys anyone else, I'll submit a feature request.
Re: Mouse selection vs. ctrl-arrow [message #158556 is a reply to message #158535] Thu, 13 May 2004 13:18 Go to previous messageGo to next message
Ken Collins is currently offline Ken CollinsFriend
Messages: 15
Registered: July 2009
Junior Member
On Thu, 13 May 2004 09:43:25 +0200, Tom Eicher wrote:

> https://bugs.eclipse.org/bugs/show_bug.cgi?id=57193
>

Thanks. It has my vote.
Re: Mouse selection vs. ctrl-arrow [message #158568 is a reply to message #158514] Thu, 13 May 2004 13:29 Go to previous message
Ken Collins is currently offline Ken CollinsFriend
Messages: 15
Registered: July 2009
Junior Member
On Wed, 12 May 2004 23:53:29 +0200, Kariem Hussein wrote:

> I assume this is the standard behaviour for Windows. I just tested it.
> The problem might not be the selection itself but pasting the text after
> copying it into the clipboard.
>
> Something like "smart-paste" as in MS Word would be a nice-to-have:
>
> Try this in Word
>
> - Select a word with CTRL-SHIFT-Arrow from the middle of a sentence
> - CTRL-X (cut)
> - The clipboard should now hold ("yourword ")
> - Move the cursor to the end of a sentence (just before the ".")
> - CTRL-V (paste)
>
> => it inserts the following string: " yourword". Because that is the way
> it fits best.

I'm working on Linux, so I'm not familiar with this feature in Word. I was
hoping for an option to make the shift-ctrl-arrow combination move to the
end of the word instead of the beginning of the next word, or at least
allow an option for it.
Previous Topic:CVS Compare greyed out in Resource History
Next Topic:Configuration problems
Goto Forum:
  


Current Time: Fri Oct 18 10:47:28 GMT 2024

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

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

Back to the top