| Summary: | [content assist] Proposal does not replace leading chars if there's a selection | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> |
| Component: | Text | Assignee: | Dani Megert <daniel_megert> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert |
| Version: | 3.1 | ||
| Target Milestone: | 3.7 M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed in HEAD (LazyJavaCompletionProposal.java, rev. 1.38). Available in builds > N20110317-2000. |
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();