Function UndoRedo.createAction
Create a new action. After this is called, do all your calls to addDoMethod
, addUndoMethod
, addDoProperty
, and addUndoProperty
, then commit the action with commitAction
.
The way actions are merged is dictated by the merge_mode
argument. See mergemode
for details.