UNDO_CMD

Static UNDO_CMD 

Source
pub static UNDO_CMD: Command
Expand description

Represents the undo action.

§Param

If the command parameter is a u32, Duration or DInstant calls undo_select, otherwise calls undo.

§Scope

You can use CommandUndoExt::undo_scoped to get a command variable that is always scoped on the focused undo scope.

§Metadata

This command has the following default metadata:

  • name
  • shortcut
  • icon
  • init

Text metadata is localized.