Project: JDT
Bug 340338 [content assist] Proposal does not replace leading chars if there's a selection
Reported: 2011-03-17 11:55:59 | Status: resolved fixed

3.1. Inserting a proposal does not replace the leading characters if there's a selection when invoking content assist. Test Case: 1. set 'Completion overwrites' 2. have: ---%<--- void test() { String s; s.getBytes(); } ---%<--- 3. select "get" 4. Ctrl+Space 5. select 'charAt' and insert it ==> s.charAtBytes(); EXPECTED: s.charAt();

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaCompletionProposal.java