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 196004

Summary: Code move by mouse needs 2 undo actions to be undone
Product: editor Reporter: Jaromir Uhrik <juhrik>
Component: -- Other --Assignee: David Strupl <dstrupl>
Status: CLOSED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jaromir Uhrik 2011-02-25 14:43:23 UTC
Product Version: NetBeans IDE Dev (Build 201102250001)
Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)

Steps to reproduce:
-select a block of code in editor and drag it by mouse
-drop the code to some other place
-push Ctrl+Z to undo
-->>this action only copies the code to the original position but doesn't delete the copy. The undo action needs to be called once more to have the code in the original status.
Comment 1 David Strupl 2011-02-28 09:57:27 UTC

*** This bug has been marked as a duplicate of bug 60560 ***
Comment 2 Jaromir Uhrik 2011-02-28 10:20:40 UTC
Duplicate => Verified->Closed.