Bug 81537

Summary: Clipboard contents lost after deleting lines in Java editor
Product: [Eclipse Project] JDT Reporter: Martin Vlk <martin.vlk>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: P3 Keywords: needinfo
Version: 3.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Vlk CLA 2004-12-17 12:03:32 EST
This occurs quite often but not always when editing Java code. I believe it also
depends on the speed you do the editing actions with - the faster the more
likely is the error to happen.

- select a text in the editor and cut it into clipboard with Ctrl+X
- delete some more lines of code
- try to paste the clipboard contents with Ctrl+V

It might be worth noting that I usually select-cut-paste whole lines of code.

I will try to come up with more repeatable pattern to help identify the bug.
Comment 2 Martin Vlk CLA 2004-12-21 05:58:07 EST
Sorry guys, I have tested this again and the conclusion is that error sits
between the chair and the keyboard rather than in Eclipse.
I was loosing the clipboard contents because of systematic incidental pressing
of Shift+Del keyboard shortcut which of course replaced whatever was in the
clipboard at the time.
Comment 3 Dani Megert CLA 2007-06-22 09:58:56 EDT
Get rid of deprecated state.
Comment 4 Dani Megert CLA 2007-06-22 10:04:18 EDT
.