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 56622

Summary: The match-brace action should be more tolerant
Product: editor Reporter: _ sandipchitale <sandipchitale>
Component: NavigationAssignee: issues@editor <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ sandipchitale 2005-03-18 00:06:17 UTC
The matching-brace action should work when the cursor is before or 
after an open or close brace. The four examples are:

|{           }
 {|          }
 {          |}
 {           }|

where the '|' indicates the cursor location.

If their is ambiguity then the bracket following the cursor should be given 
preference.

For example:
1 2          
{|{          }               }

In the above case the bracket under 2 should be give a preference.
Comment 1 Vitezslav Stejskal 2007-05-10 06:55:20 UTC
Issue #95126 covers all of this.

*** This issue has been marked as a duplicate of 95126 ***