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