Summary: | Code Select - does not work with empty selection | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M4 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
David Audel
2002-03-12 06:21:44 EST
There is still a protection in Jdt/Core which doesn't allow to call SelectionEngine with empty selection. This bugs is in org.eclipse.jdt.internal.core.Openable in the second codeSelect method. To fix the bugs remove the first test of the method : if (length == 0) { return; } Fixed. |