This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 186714 - Drag & undo selection creates copy
Summary: Drag & undo selection creates copy
Status: RESOLVED DUPLICATE of bug 60560
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 09:24 UTC by ebeb
Modified: 2010-05-26 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ebeb 2010-05-26 09:24:34 UTC
If you select text in the editor, drag the text by mouse to another line and drop, then undo, the text appears twice.

Steps to reproduce:
- Open a (Java) source file
- Select some text in a line (let's call it line A)
- Click on the selection and drag it to another line  (line B)
- Now the selected text is cut from line A and pasted into line B
- Now press CTRL-Z to undo the last action

As a result, the selected text appears twice in line A and in line B.

I was able to reproduce it on different machines, all running 6.8.
Comment 1 Vitezslav Stejskal 2010-05-26 13:44:56 UTC

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