Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 187488 - in-place rename: incomplete undo
Summary: in-place rename: incomplete undo
Status: RESOLVED DUPLICATE of bug 77575
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-17 03:56 EDT by Koen van Dijken CLA
Modified: 2007-05-18 05:48 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 Koen van Dijken CLA 2007-05-17 03:56:17 EDT
Build ID: I20070503-1400

Steps To Reproduce:

1. Select a piece of text in a java editor over multiple lines
2. Copy this text to clipboard
3. Click on an identifier in the java source
4. Alt-Shift-R, in-place rename appears
5. Paste from clipboard => Argh, this is not what I wanted !
6. Ctrl-Z (undo)

The undo is only done in other occurrences of the identifier being renamed, not in the occurrences which was choosen in step 3, this needs yet another undo.

Also remarkably the insertion point (blinking cursor) changed location from the insertion point choosen in step 3 to any of the other occurrences of the identifier. This does not happen when undoing a paste without a linebreak, in that case the insertion point remains the same.
Comment 1 Martin Aeschlimann CLA 2007-05-18 05:17:42 EDT
Looks like a general linked mode problem, same problem linked mode after editor templates.
Comment 2 Dani Megert CLA 2007-05-18 05:48:31 EDT

*** This bug has been marked as a duplicate of bug 77575 ***