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 90899 - Surround with for : Iterator requires 2 steps to undo
Summary: Surround with for : Iterator requires 2 steps to undo
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P4 blocker (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-11 13:23 UTC by Max Sauer
Modified: 2009-12-21 05:37 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 Max Sauer 2006-12-11 13:23:15 UTC
Surround with... for|Iterator hint connot be undone by one step.

Steps to reproduce:
-------------------
1) Open/create a java class
2) Inside of a method, type "sout+Space"
3) Select whole printline statement, and invoke "Surround with for(Iterator it.."
4) Invoke Undo
=> Step 4 has to be performed twice

---
NetBeans IDE Dev (Build 200612101900)
1.6.0-rc; Java HotSpot(TM) 64-Bit Server VM 1.6.0-rc-b104
SunOS version 5.10 running on sparcv9
en (nb); ISO646-US
Comment 1 Dusan Balek 2007-03-22 15:33:28 UTC
A support that allows its clients to group undoable edits should be created.
Reassigning to Mila
Comment 2 Jan Lahoda 2007-10-29 17:30:19 UTC
P4, IMO.
Comment 3 Jiri Prox 2008-04-11 00:43:48 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 4 Quality Engineering 2009-12-21 05:37:05 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team