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 - Replacements via "Replace in projects" are not undoable
Summary: Replacements via "Replace in projects" are not undoable
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal with 7 votes (vote)
Assignee: Jaroslav Havlin
Depends on:
Reported: 2012-11-29 22:41 UTC by markiewb
Modified: 2013-04-24 05:55 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2012-11-29 22:41:31 UTC
[ BUILD # : 201211290002 ]
[ JDK VERSION : 1.7.0_09 ]

I am currently testing

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.)