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 101442 - undo/redo support does not work in visual editor
Summary: undo/redo support does not work in visual editor
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: XML Multiview (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-17 19:40 UTC by Vadiraj Deshpande
Modified: 2009-10-08 15:22 UTC (History)
4 users (show)

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 Vadiraj Deshpande 2007-04-17 19:40:34 UTC
The undo/redo support works in the default XML view, but does not work as
expected in a visual editor. Whenever we click 'undo' button on the toolbar with
the visual editor active, we need to switch to the XML view and come back to the
visual editor to see the undo action.
I guess this issue is due to not using the underlying top component's UndoRedo
feature in the visual editor.
Comment 1 Erno Mononen 2007-10-05 07:23:39 UTC
Not sure whether there will be time to address this for 6.0, but I will see what can be done. Vadiraj, did you ever 
have time to look at this in details?
Comment 2 Vadiraj Deshpande 2007-10-05 11:03:39 UTC
Hi Erno, I haven't had a chance to look at this. I will be looking at it in next couple of weeks and hopefully come up
with the fix.
Comment 3 willfarnaby 2008-09-29 19:08:04 UTC
Has this been fixed yet?
Comment 4 Petr Jiricka 2009-10-08 15:22:52 UTC
This works for me now in the latest NB 6.8 build. E.g. in web.xml editor:
1. Go to Servlets tab and add a servlet
2. Press Undo
3. The servlet disappears. 

Similarly for other kinds of changes.