Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 230897 - Undo of a rename closes the editor instead of undoing the change
Summary: Undo of a rename closes the editor instead of undoing the change
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-07 10:20 EDT by Jerome Lanneluc CLA
Modified: 2008-05-07 10:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2008-05-07 10:20:20 EDT
I20080502-0100

1. New workspace
2. Paste the following in Package Explorer
public class Test {
  class A {
  }

  class B extends A {
  }

  public static void main(String[] args) {
  }
}
3. Select B
4. Alt+Shift+R, rename to C, Enter
5. Ctrl+Z
Observe: The editor is closed. Reopen the editor and see that the change was not undone.
Comment 1 Jerome Lanneluc CLA 2008-05-07 10:42:10 EDT
I'm not sure what happened, but I can no longer reproduce.
Please close.
Comment 2 Dani Megert CLA 2008-05-07 10:51:21 EDT
Same here.