Method Get():undo() Foundation

Resets the associated variable to the value held in :original.

Syntax
:undo() --> self
Return

:undo() returns a reference to the Get object.

Description

When a Get object has input focus, this method assigns the value of :original to the associated variable by evaluating the data code block and passing :original as an argument. After updating the associated variable, :undo() calls :reset() to update the edit buffer, display the edit buffer, and position the cursor appropriately.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.