Bug 5486 - Incorrect bracket highlighting
Summary: Incorrect bracket highlighting
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-02 12:31 EST by James Moody CLA
Modified: 2001-11-13 12:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Moody CLA 2001-11-02 12:31:20 EST
Type the following.

public class Test {
}

Now insert the following method (by typing, not by pasting:

public class Test {
   public void a() {
   }
}

The following brackets are highlighted (signified by *)

public class Test {
    public void a() {* (1)
    }* (2)
}* (3)

The last bracket (3) is erroneously highlighted. When I first
type the first bracket (1), 3 is correctly highlighted, but when
I type (2), (3) is not de-highlighted.
Comment 1 James Moody CLA 2001-11-02 13:44:41 EST
Further experimenting indicates this is only one of several cases where 
brackets are incorrectly highlighted and not de-highlighted. After typing in 
some simple code, I had six separate brackets all highlighted at the same time.
Comment 2 Kai-Uwe Maetzel CLA 2001-11-13 12:56:27 EST
Build 20011113.