FieldUndo¶
- MacroModule¶
genre
author
package
definition
see also
keywords
Purpose¶
The module FieldUndo provides simple undo and redo functionality to a single field.
Usage¶
To facilitate the undo and redo, simply connect an arbitrary field in both directions to the Value field of the FieldUndo module.
Windows¶
Default Panel¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
Visible Fields¶
Value¶
- name: value, type: String¶
Sets and shows the value. To be connected in both directions to the field that should have the undo/redo functionality.
History Size¶
- name: historySize, type: Integer, default: 20, minimum: 1, maximum: :field:`historySizeMax`¶
Sets the maximum size of the undo history.
Size¶
- name: size, type: Integer, persistent: no¶
Shows the current number of stored undo steps.
Index¶
- name: index, type: Integer, default: 0, minimum: 0, maximum: 0¶
Sets the index to a specific value in the history.
The valid range is [0..size-1].