| Summary: | [projection] folding + move lines down/up can corrupt source | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Christian Köstlin <christian.koestlin> | ||||
| Component: | Text | Assignee: | Platform-Text-Inbox <platform-text-inbox> | ||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | christof_marti | ||||
| Version: | 3.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Christian Köstlin
Created attachment 12849 [details]
sample source to reproduce the observed bug
i had to play a little to get the behavior on my computer so this could possibly be a race condition. anything in .log? no .. nothing in logfile Moving a line past a folded region seems to drag the projection annotation along with the moved line leaving the first line of the folded region behind. Eventually the annotation will unfold with the moved line and the 2nd and consecutive lines from the original folded region as its content. When unfolding, the selection is extended to the complete unfolded (and already corrupted) region and the whole region is moved along while continuing to move lines. i just got the effect again with build I20050811-1530 will try a newer version. steps to reproduce: - i had an listeneradapter with empty implementation of the listenermethods. - i added an //empty comment into one of the empty methods - i copied the line and moved the line down fast by holding alt-arrowdown - sometimes when the selection is scrolled over a folded javadoc-comment the selection gets corrupted and contains more than just the one line that should be moved. *** This bug has been marked as a duplicate of 62874 *** im not sure if this is really an issue with folding/unfolding the code. looked like it was a timing issue (because sometimes it could be observed and sometimes not!) |