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 223019

Summary: Replacements via "Replace in projects" are not undoable
Product: utilities Reporter: markiewb
Component: SearchAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description markiewb 2012-11-29 22:41:31 UTC
[ BUILD # : 201211290002 ]
[ JDK VERSION : 1.7.0_09 ]

I am currently testing http://wiki.netbeans.org/
TS_60_Utilities#Test_suite:_Replace_in_Projects 

Testcase "Replace string "
* Select project node of Utilities in project window 
* Invoke Replace dialog by shortcut ctrl+shift+H 
* Fill string 'Hello World' in combobox 'Containing Text:' 
* Write only 'Hello' in combobox 'Replace With' 
* Do Find 
* Press Replace button in the search results window

ACTUAL: the replacing can NOT be undone via "Edit->Undo"
EXPECTED: the replacing can be undone via "Edit->Undo"

-----
Product Version: NetBeans IDE Dev (Build 201211290002)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
Comment 1 Jaroslav Havlin 2012-11-30 11:33:25 UTC
Reverting "Replace in Projects" action is quite complicated, and it did not work in earlier versions of NetBeans too.
The "Undo" is currently an editor action, but the replace was invoked outside of the editor.
Changing to enhancement.
Thanks for reporting it.
Comment 2 aaronmahan 2013-04-24 05:52:24 UTC
Changed Platform from 'Windows 7' to 'All'. (I am Mac OS X and have voted for this enhancement.)