Query: tk::textundo
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TextUndo(3) User Contributed Perl Documentation TextUndo(3)NAMETk::TextUndo - perl/tk text widget with bindings to undo changes.SYNOPSISuse Tk::TextUndo; $testundo = $parent->TextUndo(?-option=>value, ...?);DESCRIPTIONThis IS-A text widget with an unlimited 'undo' history but without a re'undo' capability. Bindings The "TextUndo" widget 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. Methods The "TextUndo" widget has the same methods as "Text" widget. Additional methods for the "TextUndo" widget are: $text->Load($filename); 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. $text->Save(?$otherfilename?) 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. $text->FileName(?$otherfilename?) If passed an argument sets the file name associated with the loaded document. Returns the current file name associated with the document.KEYSwidget, text, undoSEE ALSOTk::Text, Tk::ROText perl v5.16.3 2014-06-10 TextUndo(3)
Related Man Pages |
---|
xmtextsetsource(3) - redhat |
widget(n) - osx |
tk::textundo(3) - suse |
tk::demos::widget_lib::trace2(3) - suse |
tk::demos::widget_lib::trace2(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Perl: taking text from a .txt file |
remove specific lines from flat file using perl |
Doing undo in Vi editor |
Undo in unix |
Use text of one file to save in another |