Bug 15631 - Unacceptable behavior editing method names in Java Editor
Summary: Unacceptable behavior editing method names in Java Editor
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-09 11:26 EDT by Michael Valenta CLA
Modified: 2002-05-23 04:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Valenta CLA 2002-05-09 11:26:23 EDT
When editing the name of a method in java, a pause in typing results in the 
selection of the method name. This is problematic for slow typers as they end 
up typing over what they just entered.
Comment 1 Erich Gamma CLA 2002-05-09 19:02:32 EDT
This is consequence of reconcile every where.
Dani can you pls make the initial analysis.
Comment 2 Dani Megert CLA 2002-05-10 04:59:45 EDT
Build Id?
There was a problem in 20020508 where the selection jumped to the class
declaration or the beginning of the CU but I could not reproduce your scenario.

Please provide a test case.
Comment 3 Michael Valenta CLA 2002-05-10 08:04:19 EDT
The build is I20020508. I can easily reproduce this by performing the following 
steps. 

1. Open a java source file of a project I have loaded from dev.eclipse.org
2. In the editor, click inside a method name and type one (or more) character.
3. Wait a second or so and the method name becomes selected.

This happens every time I do this.
Comment 4 Dani Megert CLA 2002-05-10 08:22:19 EDT
Can you provide your backlink preferences. Is Java reconcile preference on or off?
Comment 5 Dani Megert CLA 2002-05-10 08:24:38 EDT
And: which perspectives are open (and in the background). Which views are open?
Comment 6 Michael Valenta CLA 2002-05-10 08:33:41 EDT
The "Reconcile Java Views" preference was enabled but disabling it doesn't seem 
to have an effect. I didn't play around with my preferences so they are 
whatever the defaults are. My workspace is a few weeks old and has gone through 
a few builds. The perspectives I have open are Resources, Java Browsing and 
Debug. In my Java Browsing perspective I have the packages view from the Java 
perspective and the Console open as regular views and Junit, Search, Java 
Hierarchy, CVS Repositories, CVS Resource History, CVS Sync, Task and CVS 
Console as fast views.
Comment 7 Dani Megert CLA 2002-05-10 08:39:08 EDT
ok. would you mind testing a new version of jdt.ui to see if the problem is fixed?
I can provide you with the plug-in.
Comment 8 Michael Valenta CLA 2002-05-10 08:42:01 EDT
Yes, I would be willing to do that. You can either provide me with it or tell 
me which version/branch to load from dev.eclipse.org.
Comment 9 Dani Megert CLA 2002-05-10 08:53:57 EDT
Is on its way via e-mail.
Comment 10 Dani Megert CLA 2002-05-10 12:24:59 EDT
Fixed.
Available in builds > 20020510
Comment 11 Till Bay CLA 2002-05-23 04:26:13 EDT
Verified.