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:

Wolfram Research (2014), UndoTrackedVariables, Wolfram Language function, https://reference.wolfram.com/language/ref/UndoTrackedVariables.html.

Text

Wolfram Research (2014), UndoTrackedVariables, Wolfram Language function, https://reference.wolfram.com/language/ref/UndoTrackedVariables.html.

CMS

Wolfram Language. 2014. "UndoTrackedVariables." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/UndoTrackedVariables.html.

APA

Wolfram Language. (2014). UndoTrackedVariables. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UndoTrackedVariables.html

BibTeX

@misc{reference.wolfram_2024_undotrackedvariables, author="Wolfram Research", title="{UndoTrackedVariables}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/UndoTrackedVariables.html}", note=[Accessed: 03-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_undotrackedvariables, organization={Wolfram Research}, title={UndoTrackedVariables}, year={2014}, url={https://reference.wolfram.com/language/ref/UndoTrackedVariables.html}, note=[Accessed: 03-December-2024 ]}