Community
Participate
Working Groups
Steps to reproduce: - I double-click an identifier in order to highlight it with the selection (for example, the name of a method declaration), (I think the method name also becomes highlighted with a gray background when the selection is gone) - I paste something and then manually cursor over it to modify it slightly - Then when I am trying to type something else somewhere else, every few seconds Eclipse takes the cursor away from me and highlights the text I previously double-clicked, and since this happens suddenly while I am typing I then inadvertently overwrite the selection with nonsense!! - I use CTRL-Z to undo the accident and try again, but Eclipse steals the cursor and selection away from me again and again until I am fuming with anger and about to defenestrate my PC. This seems to be related to the feature of double-clicking a source code identifier to automatically highlight all references / usages of that identifier in the current source file.
Does this happen in all types of editors? If not, what editor are you using (Java, C/C++, PHP, something else?)? I see the 'OS' of this bug is set to 'All', which operating systems have you tested (and presumably reproduced) this problem on?
Apologies, this occurs using the Java EE Ganymede version of Eclipse and with Windows XP.
(In reply to comment #2) > Apologies, this occurs using the Java EE Ganymede version of Eclipse and with > Windows XP. Thanks, Jonathan. And which editors are causing this problem? Does this happen on a new workspace? When did this start happening? Do you remember anything in particular that you did before and after this started happening?
I realize what causes this behaviour is enabling the "Link open editors with content in the Navigator" feature (icon button on Project Explorer of two golden arrows pointing opposite directions). When I turned this off, this behaviour stops. So therefore this is a usability issue rather than a bug, the behavior is consistent.
Further description: The editor seems to "grab" the cursor and highlight the nearest method or field definition as the ancillary action to linking the outline / project explorer with editor content.
Passing to Platform Text (or would this be JDT Text?).
>Passing to Platform Text (or would this be JDT Text?). None of them ;-) *** This bug has been marked as a duplicate of bug 237830 ***