Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 423270

Summary: bracket highlighting mismatch
Product: [ECD] Orion Reporter: Grant Gayed <grant_gayed>
Component: ClientAssignee: Grant Gayed <grant_gayed>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 5.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: All   
Whiteboard:

Description Grant Gayed CLA 2013-12-04 22:59:35 EST
I20131202-2230
- works in the old styler

- case:

factory = new D (new int[] {2, 0, 0, 3, 1}) {
    public long C (long [] args) {B (/*64*/E[0]);}
};

- put the caret at the very end of line 2, and it matches with the bracket right before "B" (good)
- now put the caret right before "B" and note that the matched bracket is the one on line 3, not the one at the end of line 2
- removing the /* 64 */ comment makes this case work
Comment 1 Grant Gayed CLA 2013-12-05 00:20:06 EST
Fixed > 20131205, commit: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=887909ee0940200b9f49a4a1aaa4876fb1fed591 .

Confirmed that this fixes the case of selecting the first/last brace in textView.js.