Module command.set_multiple_command_mode_command

SetMultipleCommandModeCommand module

Fields

SetMultipleCommandModeCommand SetMultipleCommandModeCommand class Used to group consecutive into a single command on the undo-redo stack.


Fields

SetMultipleCommandModeCommand
SetMultipleCommandModeCommand class Used to group consecutive into a single command on the undo-redo stack. All comamnds that are executed in a single SetMultipleCommandModeCommand block will be merged into a single command.

Usage:

     -- Enter multiple command mode
     SB.commandManager:execute(SetMultipleCommandModeCommand(true))
     ...
     -- Execute other commands...
     ...
     -- Leave multiple comamnd mode (creates only one command on the undo/redo stack)
     SB.commandManager:execute(SetMultipleCommandModeCommand(false))
generated by LDoc 1.4.3 Last updated 2017-09-23 19:07:28