Create end undo batch |
added link to impulses |
||
Line 16: | Line 16: | ||
== Inputs == | == Inputs == | ||
=== Input (Call) === | === Input ([[Impulses|Call]]) === | ||
End the undo batch. | End the undo batch. | ||
== Outputs == | == Outputs == | ||
=== Output (Continuation) === | === Output ([[Impulses|Continuation]]) === | ||
Code to run after the undo batch. Ideally, the code that runs should be modifying only things included in the undo batch the node ended, so it can be undone by the user. | Code to run after the undo batch. Ideally, the code that runs should be modifying only things included in the undo batch the node ended, so it can be undone by the user. |
Revision as of 07:46, 4 February 2024
Begin Undo Batch
Undo
When paired with a Begin Undo Batch this node will batch all previous undo steps after the previous Begin Undo Batch into one, ignoring all undo descriptions on all undo nodes between the two. This will make all the undo steps one undo press on the context menu of the user that impulsed the node chain.
Inputs
Input (Call)
End the undo batch.
Outputs
Output (Continuation)
Code to run after the undo batch. Ideally, the code that runs should be modifying only things included in the undo batch the node ended, so it can be undone by the user.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.