Project: JDT
Bug 80345 [navigation] Expand Selection|Enclosing Element should work on boundaries
Reported: 2004-12-07 04:24:01 | Status: resolved fixed

Take this example (the caret is at the |): updateTable(keepSameLeavesVisible|, true); When you now invoke Expand Selection|Enclosing Element, the whole line gets selected, but I want keepSameLeavesVisible to be selected. The reason is, that I just from word to word using Ctrl-Left/Right and this stops at the word begining/end. Currently, to be able to use ES|EE, I still need to press Left/Right to step one character into the word.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/actions/StructureSelectionActionTests.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Selection.java