+1 > -----Original Message----- > From: Michael Kirby [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 15, 2001 4:26 AM > To: [EMAIL PROTECTED] > Subject: [Eap-list] ctrl-[] buglet > > > If you place the caret on the inside of a brace, ctrl-[ and > ctrl], will bring you to the top > and bottom brace respectively (this makes sense). If > however, you are in the cursor > position immedately outside a block, such that the > high-lighting is showing you the > matching brace, ctrl-] or ctrl-] should take you to the > highlighted pair, not the outer > pair. > > For example: > > { > > Some text: > G > > A{B > > D}C > > F > > } > > > The problem is when the caret is in position A, or C. That > is imediately outside a > block. When the caret is at A, and ctrl-] is selected, it > navigates to the bottom brace > in the external block, instead of the bottom brace in the > internal block. The same is > true if the caret is on position C as well. > > This is counter intuitive because IDEA is showing the > matching brace for the inner > block, yet the ctrl-[] navigation takes us to the outer block. > > The correct behavior should be that if highlighting of a > brace is active, the ctrl-[] > navigation should go to the matching brace indicated by the > highlighting. The rules > for navigation and highlighting should be the same. > > Thanks, > MIke > --- > [EMAIL PROTECTED] > To obtain my PGP public key, mail "SEND PUB KEY" in the > subject to "[EMAIL PROTECTED]" > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list >
************************************ If this email is not intended for you, or you are not responsible for the delivery of this message to the addressee, please note that this message may contain ITT Privileged/Proprietary Information. In such a case, you may not copy or deliver this message to anyone. You should destroy this message and kindly notify the sender by reply email. Information contained in this message that does not relate to the business of ITT is neither endorsed by nor attributable to ITT. ************************************ _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
