[ Previous | Next | Contents | Glossary | Home | Search ]
Motif and CDE 2.1 Style Guide Reference


Undo, Redo, Repeat (Action Choices)

Reference

Description

The Undo, Redo, and Repeat choices are defined as follows:

Undo
An action choice that reverses the effect of the last action that the user invoked, returning the application state to what it was before the action was performed.

Redo
An action choice that reverses the effect of an undo operation, returning the application state to what it was before the undo was performed.

Repeat
An action choice that repeats the last action invoked by the user.

When to Use

Required
Provide the Undo, Redo, and Repeat menu items for each editable element.

Guidelines

Required
Include the Undo, Redo, and Repeat choices in the Edit menu or an object's pop-up menu.

Required
The Undo choice should undo the last action performed by the user. If only single-level Undo is supported, then after the user chooses Undo, make it unavailable.

Recommended
The Redo choice should redo the last action undone that has not already been redone. Display Redo if there are any operations that remain to be redone.

Optional
If Redo is not supported, have the Undo choice remain available after the user chooses it. When the user chooses Undo again, perform the same action as Redo.

Recommended
The Repeat choice should repeat the last action the user performed.

Required
Replace the Repeat choice with the Redo choice after the user chooses Undo.

Required
Replace the Redo choice with the Repeat choice after one of the following:

  1. A new action is performed

  2. All actions undone have been redone

  3. Recommended
    Support multiple level Undo with an Undo More choice.

    Optional
    Dynamically append the name of the Undo and Repeat choices to indicate what can be undone or repeated. For example, use Undo Typing to clarify the meaning and differentiate the choice from Undo Delete.

    Recommended
    Assign R as the mnemonic and Shift Alt Backspace as the shortcut for the Redo menu item.

    Recommended
    Assign U as the mnemonic and AltBackspace (or CtrlZ) as the shortcut for the Undo menu item.

    Essential Related Topics

    For more information, see the Edit (Menu), Object, and Pop-Up Menu (Menu Type) reference pages.

    Supplemental Related Topics

    For more information, see the Cut, Copy, Paste (Action Choice), Data Transfer, Delete (Action Choice), and Emphasis (Cue) reference pages.


    [ Previous | Next | Contents | Glossary | Home | Search ]