Bug 34195

Summary: Matching bracket not working
Product: [Eclipse Project] JDT Reporter: Vijay Aravamudhan <avijayr>
Component: TextAssignee: Kai-Uwe Maetzel <kai-uwe_maetzel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 2.1   
Target Milestone: 2.1 RC3   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Vijay Aravamudhan CLA 2003-03-08 07:15:52 EST
hi,
I was trying to match a bracket in a core jdk class (BasicScrollBarUI) inside
the method actionPerformed() for the curly brace at the end of the line: 1156.
The short cut key is Ctrl+Shift+P (default). The first time that i performed
this key combo, the cursor was moved to the beginning of line 1164, which is
correct. At this location, when I tried the same keys, where previously I was
taken back to the end of line 1156, now I just get a <ding> sound - as though
there was an error. This was working in the latest integration build before RC2.
I would really appreciate it if this could be fixed soon.
Thanks
Comment 1 Kai-Uwe Maetzel CLA 2003-03-11 14:24:12 EST
Matching brackets only works if the cursor is right of the bracket. This has 
been changed for RC2.

There is currently a problem with "Jump to Matching Bracket" has it cannot be 
used to toogle between peers of brackets as the cursor is in one case position 
left of the bracket. This will be fixed. We will not enable the old behavior.
Comment 2 Kai-Uwe Maetzel CLA 2003-03-13 04:46:27 EST
Approved by Erich and Kai.
Comment 3 Kai-Uwe Maetzel CLA 2003-03-14 09:00:45 EST
Build 20030314. Reviewed by Dani.
Comment 4 Dani Megert CLA 2003-03-20 12:47:03 EST
Verified against I20030319
Comment 5 Vijay Aravamudhan CLA 2003-03-20 13:08:13 EST
yup - its working with RC3! Thanks!