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 132449

Summary: Keyboard accelerators are inconsistent between "Find" and "Replace"
Product: editor Reporter: matthies <matthies>
Component: SearchAssignee: issues@editor <issues>
Status: VERIFIED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description matthies 2008-04-09 18:15:32 UTC
The inconsistent accelerators are:

    Find                    Replace
    ----------------------------------------------
    Match [C]ase            [M]atch Case
    [R]egular Expression    Regular [E]xpression
    [H]ighlight Results     Highligh[t] Results

For example it often happens to me that I press Alt+R in the Replace dialog to toggle Regular Expression, like I'm used 
to from the Find bar, but in the Replace dialog Alt+R instead actuates the "Replace" button. And I always mix up what 
to press to toggle case sensitivity.

The state of these options is shared between "Find" and "Replace", which further enforces the intuition that these are 
the same options, and hence the expectation that they have the same keyboard shortcuts.

Product Version: NetBeans IDE 6.1 Beta (Build 200803050202)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 1 Vitezslav Stejskal 2008-04-10 10:07:19 UTC
Yeah, we should fix that. Probably by changing those in Replace dialog to match the 'Find' search bar. Thanks for the
report.
Comment 2 Vitezslav Stejskal 2008-06-26 14:38:16 UTC
http://hg.netbeans.org/main/rev/a2805ca47f5d
Comment 3 Quality Engineering 2008-06-27 16:21:32 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #285 build
Changeset: http://hg.netbeans.org/main/rev/a2805ca47f5d
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #132449 (fixed): mnemonics consistent with the replace dialog
Comment 4 matthies 2008-08-21 16:30:37 UTC
Verified in 6.5 Beta.