Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 67403 - [typing] When packages get added automatically and UNDO/REDO is used, source gets messed up
Summary: [typing] When packages get added automatically and UNDO/REDO is used, source ...
Status: RESOLVED DUPLICATE of bug 61171
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-15 20:44 EDT by Ivan V Jouikov CLA
Modified: 2004-06-16 10:03 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***