java editor - pause typing causes current word to be selected - continue then overtypes [message #249923] |
Sun, 02 December 2007 02:38  |
Eclipse User |
|
|
|
Originally posted by: pmac.nospam.tensilica.nospam.com
i have the europa 3.3.1 J2EE bundle on winXP and am editing java classes in
a "dynamic web project".
there is a really ugly editor behaviour when typing in a new method
declaration caused by something auto-selecting the word that is being typed
in when you pause. Type in the following partial method decl and then pause
for a second or so:
public int foo
as you pause, the item "foo" appears in the outline, and the characters
"foo" in the editor become selected. Then continue entering the rest of the
method decl
bar()
(i.e. you wanted public int foobarr())
because something autoselected "foo" those chars are replaced as you
continue typing. Massively frustrating.
Now ... i don't see this in the other eclipse331 SDK installation i have, so
it's not a fundamental of the editor.
It appears to be somewhat related to the outline view being "linked" to the
editor, but that is enabled in both installations and only the EE bundle has
the bad behaviour. Switching off linking "improves" the behaviour, but not
totally (and linking is actually useful). A race condition maybe?
Anyone else come across this? Any suggestions on how to improve the
behaviour? I didn't find any likely preferences. I also didn't find anything
obvious in bugzilla
TIA
PMac
|
|
|
|
Re: java editor - pause typing causes current word to be selected - continue then overtypes [message #249958 is a reply to message #249923] |
Mon, 03 December 2007 10:04  |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Pete MacLiesh wrote:
> i have the europa 3.3.1 J2EE bundle on winXP and am editing java classes in
> a "dynamic web project".
>
> there is a really ugly editor behaviour when typing in a new method
> declaration caused by something auto-selecting the word that is being typed
> in when you pause. Type in the following partial method decl and then pause
> for a second or so:
>
> public int foo
>
> as you pause, the item "foo" appears in the outline, and the characters
> "foo" in the editor become selected.
This is just a shot in the dark, but...
Do you happen to have the preference General > Select on hover enabled?
Is it possible that the mouse pointer is being moved over the outline
element (which, if that preference is enabled, would cause it to be
selected)?
Obviously what you're seeing is not intuituve and not intended (unless
there is something else you've left out of the scenario you describe. If
you can derive a reproducible test case, a Bugzilla would be in order.
Hope this helps,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.04059 seconds