Bug 34195 - Matching bracket not working
Summary: Matching bracket not working
Status: CLOSED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.1 RC3   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-08 07:15 EST by Vijay Aravamudhan CLA
Modified: 2003-03-20 13:08 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 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!