Patent ID: 11914584
Assignee: LEMON INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 0:
1. A method for reset command configuration, applied to an editor of target software, the editor is configured with a command inputting module, and the command inputting module is used to input a startGroup command, an endGroup command, a snapshot capture command and an operation execution command for executing command-type configuration; the method comprises:
starting a command group storage unit and starting a snapshot session in response to the inputted startGroup command;
putting at least one target object into the snapshot session in response to the inputted snapshot capture command, wherein each target object corresponds to an instance of a data class in the target software;
updating a status of each target object in the snapshot session based on a simulation operation;
in response to the inputted endGroup command, closing the snapshot session, extracting each target object from the snapshot session to obtain change information of each target object before and after updating, generating a command pair for each target object according to the change information, pressing the command pair into the command group storage unit, and closing the command group storage unit; and
pressing a reset command into a reset command stack of the target software by using all command groups of the command pair in the command group storage unit as the reset command, for a user to perform an undo operation or a redo operation when using the target software.