PDA

View Full Version : Undo stack



Noel Rice
17 Feb 2012, 4:59 PM
Version 2.0.0 Build 288

The undo stack seems inconsistent. Example:
Create a new project.
Add a Panel to the designer.
Add a Grid Panel to the Panel.
From the menu select Edit > Undo
From the menu, the Edit > Undo menu is disabled, so the Panel created in step #2 cannot be removed via Undo.

aconran
17 Feb 2012, 5:39 PM
Top level components cannot be undone. When you create top level component it gets its own undo stack similar to if you are editing a file.

Noel Rice
20 Feb 2012, 9:40 AM
If I understand your point correctly, this makes a certain kind of sense. If we were working in HTML, the HTML/BODY tags would always remain. In Silverlight, the UserControl would never be removed.

From a usability standpoint, not so much. I'm expecting to undo all the way back until the project is in its initial state. In most industrial-stength UI environments that have an undo stack, all actions can be undone, in order, back to the starting state.

two cents worth,
-Noel

Phil.Strong
22 Feb 2012, 9:46 AM
Noel,

We've wrestled with this internally as well.