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

Summary: [69cat] Find options reset the Replace options
Product: editor Reporter: matthies <matthies>
Component: SearchAssignee: David Strupl <dstrupl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

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