Bug 223019 - Replacements via "Replace in projects" are not undoable
Replacements via "Replace in projects" are not undoable
Status: NEW
Product: utilities
Classification: Unclassified
Component: Search
7.3
All All
: P3 with 7 votes (vote)
: TBD
Assigned To: Jaroslav Havlin
issues@utilities
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-29 22:41 UTC by markiewb
Modified: 2013-04-24 05:55 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo