Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 67403

Summary: [typing] When packages get added automatically and UNDO/REDO is used, source gets messed up
Product: [Eclipse Project] JDT Reporter: Ivan V Jouikov <ivj>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P2    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ivan V Jouikov CLA 2004-06-15 20:44:41 EDT
Basically what I was doing:

1.  Copy-pasted some code into a .java file
2.  Eclipse automatically identified missing package and added it to the 
package list.
3.  Then I copy pasted some more code into the same file.
4.  Same as step #2
5.  I pressed ctrl+z (undo) a few times, then ctrl+y (redo) a few times, and 
my source code was totally messed up.  Like, the lines got shifted together 
with some of the stuff that I pasted.

Remember seeing similar problem in visual C++ 6.0
Comment 1 Dani Megert CLA 2004-06-16 04:18:22 EDT
which build?
anything in .log?
Comment 2 Kai-Uwe Maetzel CLA 2004-06-16 10:03:17 EDT

*** This bug has been marked as a duplicate of 61171 ***