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 216264 - "Edit|Undo" is disable after refactoring
Summary: "Edit|Undo" is disable after refactoring
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-01 14:24 UTC by dnikitin
Modified: 2015-09-17 10:59 UTC (History)
1 user (show)

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 dnikitin 2012-08-01 14:24:57 UTC
Product Version: NetBeans IDE Dev (Build 201207220002)
Updates: Updates available
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b16
System: Linux version 3.2.0-24-generic running on amd64; UTF-8; en_US (nb)
---------------------------

* Open Quote/customer.cc
* Refactor->Rename "Customer" to "Customer_new"
* "Edit|Undo" menu item is disable => impossible to undo refactoring 

workaround: switch between tabs in editor and open customer.cc tab again
Comment 1 Egor Ushakov 2013-05-14 16:24:06 UTC
more of that, undo works only for cc file, leaving header intact
Comment 2 Vladimir Voskresensky 2013-05-15 11:56:04 UTC
It's a general issue. Edit->Undo is disabled even for simple java app immediately after refactoging.
More over Undo on Toolbar has different behavior then menu Edit->Undo.

Interesting that Undo action works fine if instead of refactoring I use Preview and then refactoring
Comment 3 Martin Balin 2015-09-17 10:59:42 UTC
Report from old NetBeans version. Due to code changes since it was reported likely to not happen. Feel free to reopen if happens in 8.0.2 or 8.1.