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 105123 - Curly brace matching wrong
Summary: Curly brace matching wrong
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on: 91893
Blocks:
  Show dependency tree
 
Reported: 2007-05-30 13:07 UTC by mircea273
Modified: 2007-06-12 01:35 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 mircea273 2007-05-30 13:07:22 UTC
If i have a commented line containing a { as the last char, i get it highlighted
as being the pair for whatever } is below it. e.g:

public class NewClass {

    public NewClass() {
        
        //something {
        while(true){
            
        }
        
    }// when the cursor is here i get highlighted the { on the commented line above
I am using NB 6.0 M9 on a Suse 10.0 with gnome/icewm.

}
Comment 1 Vitezslav Stejskal 2007-05-31 00:24:21 UTC
I'm working on the proper braces matcher for java. Also see, issue #91893.
Comment 2 Vitezslav Stejskal 2007-06-12 01:35:11 UTC
This should now be working as expected.