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 230405 - [Bracket matching] doesn't refresh properly
Summary: [Bracket matching] doesn't refresh properly
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-28 18:36 UTC by markiewb
Modified: 2013-06-10 20:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue (51.28 KB, image/png)
2013-05-28 18:38 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2013-05-28 18:36:55 UTC
[ BUILD # : 201305262300 ]
[ JDK VERSION : 1.7.0_21 ]

Bracket matching is broken. It gets only refreshed when placing the caret at
the end-bracket

Example:
<code>
public class JavaApplication1 {
 
    public static void main(String[] args) {//<-Place the caret here - no
change in bracket matching - NOK
        
        {
          //<-Place the caret here - no change in bracket matching - NOK
        }//<-Place the caret here - change in bracket matching - OK
        
    }
}
</code>
See also the screenshot, which shows the wrong display.
Comment 1 markiewb 2013-05-28 18:38:47 UTC
Created attachment 135025 [details]
Shows the issue
Comment 2 Svata Dedic 2013-06-05 12:54:41 UTC
http://hg.netbeans.org/jet-main/rev/bb42404b843e
Comment 3 Quality Engineering 2013-06-10 02:21:33 UTC
Integrated into 'main-golden', will be available in build *201306100004* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/bb42404b843e
User: Svata Dedic <sdedic@netbeans.org>
Log: #230405: allowed outline for opening brace; fixed cleanup after caret move