| Summary: | [content assist] ccode assist proposals incorrect after undo | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Christopher Daly <cjdaly> |
| Component: | Text | Assignee: | Tom Hofmann <eclipse> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | daniel_megert |
| Version: | 3.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Christopher Daly
What's the build id? Tom, please investigate. I'm seeing this on 3.2RC1. I don't have anything newer downloaded at the moment. This stems from the fact that applying the "synchronized block" proposal replaces the original prefix ("synch"), which means that undo selects the restored prefix. Code assist always works at the start of the selection.
*** This bug has been marked as a duplicate of 103094 ***
Ahh, I hadn't noticed the change in selection. I agree this is like bug 103094. This is certainly not something to delay 3.2, but don't you think the flow is not very nice here? I do this (initially choose the wrong proposal) all the time when I'm working too fast. Code assist could use the cursor position or the end of the selection, why use the start of the selection? And is it a bug that undo doesn't revert to the original selection state? (that would take this out of JDT and over to platform I guess) |