Editor Commands

IPSE records every action performed by the user as a command. This mechanism enables comprehensive undo and redo functionality and provides users with a detailed history of changes made while editing the flowsheet. The implementation follows a well-established pattern, similar to that used in popular applications such as Microsoft Office applications (e.g. Microsoft Excel).

Commands can be undone or redone using standard keyboard shortcuts:

  • Ctrl+Z — Undo the last command

  • Ctrl+Y — Redo the last undone command

Alternatively, users can access undo and redo functionality through the interface:

quick access menu panel
Figure 1. The quick access menu contains the buttons for undo and redo of commands.
project toolbar group edit
Figure 2. Commands can also be undone and redone using the toolbar menu group "Edit".

When a command is undone, it is stored in the redo stack, making it possible to restore the command using the redo action. However, if a new command is executed after an undo operation, the redo stack is cleared.

The command history is stored locally during the editing session and is not saved when the application is closed. As such, it cannot be retrieved in future sessions. Please note that the command history is separate from the project version history, which is saved persistently.