UndoTrackedVariables

UndoTrackedVariables

is an option for Manipulate, DynamicModule, and related functions that sets variables that should be tracked by the front end's undo mechanism.

Details

  • The typical usage is UndoTrackedVariables:>{var1,var2,}.
  • By default, changes to DynamicModule variables are not tracked by the undo mechanism.
  • If an evaluation that changes an affected DynamicModule variable also produces other undoable side effects on the notebook, then a single use of the Undo menu command will revert the variable change and all other undoable changes.

Examples

open allclose all

Basic Examples  (1)

Create an interface that responds to the Undo menu command:

Properties & Relations  (1)

Controls such as locators track only the beginning and ending variable values, not the intermediate ones:

Introduced in 2014
 (10.0)