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 257426 - After dragging selected text by mistake, undo must be used twice to completely undo
Summary: After dragging selected text by mistake, undo must be used twice to completel...
Status: RESOLVED DUPLICATE of bug 60560
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-05 18:45 UTC by phpguru
Modified: 2016-02-17 13:27 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 phpguru 2016-01-05 18:45:04 UTC
Code a line, or open a code file. Code is at state A.
Select some text.
Using the mouse, drag the selected text somewhere else.
Select undo or Cmd-Z / Ctrl-Z
 * your text is NOT moved back to where it was before * Code is at State B
Select undo or Cmd-Z / Ctrl-Z
 * Your text is NOW moved back to where it was before * Code is at State A.


It is not clear what State B is or why it happens.

If you press ctrl-z only once and save the file, the code is very likely broken! 

With remote ftp sync upload on save, now my site is broken, too.

Possibly related to 18319
Comment 1 Milutin Kristofic 2016-02-17 13:27:04 UTC

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