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 187437 - [69cat] Find options reset the Replace options
Summary: [69cat] Find options reset the Replace options
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-10 14:53 UTC by matthies
Modified: 2010-10-13 15:30 UTC (History)
0 users

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 matthies 2010-06-10 14:53:28 UTC
When invoking Replace multiple times, its options (Match Case etc.) are remembered between invocations. But when invoking Find in between, the Replace options are reset to the values of the Find options. That's not the case the other way round: Chaning the Replace options doesn't affect the Find options.
The behavior is as if two different sets of Options are stored for Find and Replace, but invoking Find saves the Find options to both sets, while Replace only saves the Replace options to the Replace set.

Either Find and Replace share options, then they should be copied in either direction (or both should use the same saved set of options), or they don't share options, then invoking Find shouldn't affect the Replace options.
Comment 1 David Strupl 2010-10-13 15:30:20 UTC
http://hg.netbeans.org/jet-main/rev/fcb3a9e7aa76