CentOS 7.0 - man page for tk::textundo (centos section 3)
|Linux & Unix Commands - Search Man Pages
TextUndo(3) User Contributed Perl Documentation TextUndo(3)
Tk::TextUndo - perl/tk text widget with bindings to undo changes.
$testundo = $parent->TextUndo(?-option=>value, ...?);
This IS-A text widget with an unlimited 'undo' history but without a re'undo' capability.
The "TextUndo" widget has the same bindings as the Text widget. In addition there are the
Event <L4> <<Undo>>
undo the last change. Pressing <L4> several times undo step by step the changes made
to the text widget.
The "TextUndo" widget has the same methods as "Text" widget. Additional methods for the
"TextUndo" widget are:
Loads the contents of the $filename into the text widget. Load() delete the previous
contents of the text widget as well as it's undo history of the previous file.
Save contents of the text widget to a file. If the $otherfilename is not specified,
the text widget contents writes the file of $filename used in the last Load() call.
If no file was previously Load()'ed an error message pops up. The default filename of
the last Load() call is not overwriten by $otherfilename.
If passed an argument sets the file name associated with the loaded document. Returns
the current file name associated with the document.
widget, text, undo
perl v5.16.3 2014-06-10 TextUndo(3)
All times are GMT -4. The time now is 01:03 PM.