|
Re: Mouse selection vs. ctrl-arrow [message #158507 is a reply to message #158467] |
Wed, 12 May 2004 21:39 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04054 seconds