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:


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. |