+10 Something about the inconsistency here really bugs me!
:) Jacques Morel wrote: > Ooops I guess you are right. Nothing changed and I could have sworn > having seen something in the release notes. I thought that in previous > versions, Ctrl-] then Ctrl-[ would not even go back to the beginning > of the block (they were not inverse operations). I must have being > working too late... I agree with you 200% anyway like a lot did. It is > a complete departure from all editors I have used and really annoying. > Usually Ctrl-] or similar action goes just right after the current > block closing parenthesis and Ctrl-[ right after the closing paren of > a block goes to the same block opening paren and not the outer > block. However my previous post is still valid: the paren matching > highlighting is not in sync with the block navigation actions which I > believe is not really intuitive. I believe that these two operations > should be consistent. If a block is highlighted and I invoke the > operation "go to beginning of block", IMHO it is reasonable to expect > that they would target the same block regardless of what we are used > to. My 2c Jacques "Chris Bartley" <[EMAIL PROTECTED]> wrote in message > ai0scf$ol2$[EMAIL PROTECTED]">news:ai0scf$ol2$[EMAIL PROTECTED]...> -1 for highlighting a block when > the cursor is just before the closing > > parenthesis. I think the current highlighting behavior is intuitive > and > > correct. > > > > However... > > > > How is CTRL-[ any better? Even more, how has it changed? You are > talking > > about "Move to Code Block Start" and "Move to Code Block End", > correct? For > > me, it's the same lousy, buggy, broken behavior I've been whining > about for > > almost a year: > > > > http://www.mail-archive.com/[email protected]/msg06129.html > > > http://www.mail-archive.com/[email protected]/msg00762.html > > > > http://lists.jetbrains.com/pipermail/eap-bugs/2002-July/004918.html > > > > The first reference above actually talks about CTRL-SHIFT-[ and > > CTRL-SHIFT-], but it's equally valid for CTRL-[ and CTRL-]. > > > > Win2k sp2, jdk1.4.0_01, IDEA 638 > > > > chris > > > > "Jacques Morel" <[EMAIL PROTECTED]> wrote in message > > ahvvsb$dn9$[EMAIL PROTECTED]">news:ahvvsb$dn9$[EMAIL PROTECTED]... > > > The new Ctrl-[ behavior is a lot better.Thanks for your quick > correction. > > > However the highlighting is not consistent with it now so I would > suggest > > to: > > > > > > Highlight a block when the cursor is just BEFORE the closing > parenthesis > > not after. > > > > > > Here is my reasoning: It can be very confusing if you have nested > block > > back > > > to back. > > > Legend: > > > | : caret > > > _(_ : highlighted parenthesis > > > > > > If I have > > > (something(param)) > > > > > > (something_(_param_)_|) > > > > > > This inner parens are highlighted. But if I do Ctrl-[ I will go to > the > > very > > > first ( and the outer block parens is highlighted now. > > > |_(_something(param)_)_ > > > I would have guessed instead that I would go to the beginning of > the > > > highlighted block. > > > I suggest that you highlight the outer block in such situation. > > > > > > Jacques > > > > _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features
