This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 129365 - DV Undo/Redo not eneabled after refactor-rename
Summary: DV Undo/Redo not eneabled after refactor-rename
Status: RESOLVED DUPLICATE of bug 48427
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-06 09:24 UTC by tonybeckham
Modified: 2008-03-13 15:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tonybeckham 2008-03-06 09:24:29 UTC
Undo/Redo are not enabled if you refactor|rename an item in design view.  Once you use refactor|Undo[rename] then
undo/redo are enabled, however, since it is a "step" behind what you have just done the behavior appears to be backward.
 For instance, undo will in fact redo the change and redo will undo it.

Steps:
1.In design view choose refactor|rename for an item (undo not enabled yet)
2.Now on that same item choose refactor|undo[rename] and regular undo is now enabled.
Comment 1 tonybeckham 2008-03-06 09:42:27 UTC
System Info:
Product Version: NetBeans IDE Dev (Build 200803051205)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.2 running on i386; MacRoman; en_US (nb)
Comment 2 Sonali Kochar 2008-03-06 14:18:47 UTC
I am using the BackupFaciliy provided by the refactoring core API to undo/redo..My code doesnt manage the Edit -> Undo.
Assigning the code to core refactoring team to evaluate.
Comment 3 Jan Becicka 2008-03-13 15:00:42 UTC
Refactor | Undo is not well integrated with Edit | Undo. It is known issue.

*** This issue has been marked as a duplicate of 48427 ***