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.
Reproduce: - Select some text. - Press cmd-R to bring up the Replace dialog. - Do a search-and-replace that's limited to the selection. - Close the Replace dialog. - Undo. Actual Result: In most cases, the selection is lost after the undo, though it is retained in some cases (not sure exactly what the criteria are here). Expected result: I'd expect the selection to be retained. When this is the case, you can immediately return to the Replace dialog and do a new search-and-replace on the same selection (probably because your first attempt was incorrect, which is why you used the undo command). As is, you must redo the selection. Product Version: NetBeans IDE Dev (Build 201006050001) Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101 System: Mac OS X version 10.6.3 running on x86_64; MacRoman; en_US (nb) Userdir: /Users/bob/.netbeans/dev
*** This bug has been marked as a duplicate of bug 183695 ***