Bug 81537 - Clipboard contents lost after deleting lines in Java editor
Summary: Clipboard contents lost after deleting lines in Java editor
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-12-17 12:03 EST by Martin Vlk CLA
Modified: 2007-06-22 10:04 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 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
.