14 Feb 2021 12:53:44 UTC
- Distribution: Tk
- Module version: 4.015
- Source (raw)
- Pod Source (raw)
- Browse (raw)
- How to Contribute
- Issues (143)
- Testers (1485 / 16 / 0)
- KwaliteeBus factor: 2
- % Coverage
- License: unrestricted
- Activity24 month
- Download (6.7MB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:14 non-PAUSE usersSREZIC Slaven Rezićand 1 contributors
- email@example.com (Nick Ing-Simmons)
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.
TextUndowidget has the same bindings as the Text widget. In addition there are the following bindings:
- Event <L4> <<Undo>>
undo the last change. Pressing <L4> several times undo step by step the changes made to the text widget.
TextUndowidget has the same methods as
Textwidget. Additional methods for the
Loads the contents of the $filename into the text widget. Load() delete the previous contents of the text widget as well as its 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