I agree 100% that the jump from the body of a method to the whole file is a
little extreme. I too would expect that the next step out would be the body
+ the header since that is a very common thing to want to manipulate as a
whole.

-- Mark

-----Original Message-----
From: Calum Maclean [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 09:09a
To: IntelliJ Mailing List (E-mail)
Subject: [Eap-list] Select Word doesn't always work


Select Word (Ctrl-W) doesn't always work as expected.

Example 1:
                public void doNothing()
                {
                    // do nothing
                }
pressing Ctrl-W when the cursor is on the comment successively selects:
the comment
the line the comment is on
the lines with the braces and the method body
the whole file
In particular, the method (i.e. method signature and body) is never
selected.

Example 2:
                public void doNothing2()
                {
                    // do nothing
                    // do nothing again
                }
pressing Ctrl-W when the cursor is on the first comment successively
selects:
the comment
the line the comment is on
the lines with the braces and the method body
the whole file
Again, the whole method (i.e. method signature and body) is never selected.
In addition, the method body (without braces - in this case, just the 2
comment lines) is never selected.

In general, it would appear that, starting from within a block:
                you can't select the block (without the braces)
                you can't select the block including the "qualifier" (e.g.
method signature, while statement etc.)

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to