Undo & Redo

Sheet Architect tracks every change you make in the editor, letting you step backward to reverse mistakes and forward to re-apply changes you undid. This works like undo/redo in any other application -- the same muscle memory applies.

Keyboard Shortcuts

  • Undo: Ctrl+Z (or Cmd+Z on Mac) -- reverse the last change
  • Redo: Ctrl+Shift+Z (or Cmd+Shift+Z on Mac) -- re-apply a change you just undid

You can press undo multiple times to keep stepping backward through your history.

Toolbar Buttons

The editor toolbar also has undo and redo buttons (arrow icons) if you prefer clicking. They work identically to the keyboard shortcuts.

What Gets Tracked

Undo and redo track changes across most parts of the editor:

  • Layout changes -- adding, removing, moving, and reordering components
  • Property changes -- editing a component's name, label, classes, attribute bindings, or other properties in the Property Inspector
  • Attribute definitions -- adding, editing, or removing attributes
  • Logic graph changes -- adding or removing nodes, creating or deleting connections between nodes, and changing node settings
  • Design token changes -- adding, editing, or removing tokens

Limitations

There are a few things to be aware of:

Session-Only History

Undo history exists only for your current editing session. If you close the editor and reopen it, the undo stack starts fresh. For going back to earlier states across sessions, use Version History instead.

CSS Has Its Own Undo

The Style Editor's code editor maintains its own separate undo history. When you press Ctrl+Z while focused in the CSS editor, it undoes your last CSS text change. When you press Ctrl+Z while focused on the layout canvas or hierarchy, it undoes your last layout/property change. The two histories are independent.

info

This means you cannot undo a CSS change using the toolbar undo button while viewing the Layout Editor, or vice versa. Make sure the correct panel is focused when you undo.

Rapid Changes Are Grouped

If you make very fast changes -- like quickly dragging a slider or typing a long value -- Sheet Architect may group them into a single undo step. This prevents your undo history from filling up with dozens of intermediate states for what was really one action.

Redo Is Cleared by New Changes

If you undo several steps and then make a new change, the "redo" history is cleared. This is standard behavior -- once you take your sheet in a new direction, the old forward history no longer applies.

lightbulb

If you are about to make a big experimental change and want a safety net beyond session undo, press Ctrl+S to save first. That way you can always restore from your saved version history if the experiment does not work out.