diff options
author | fvogel <fvogelnew1@free.fr> | 2016-04-07 19:50:31 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-04-07 19:50:31 (GMT) |
commit | b8b29378dcd5a89e371ac9bd1ae4737d08379a46 (patch) | |
tree | 050d78bc3bcc4e01b943cb50d0691f792d721cfb | |
parent | f617c83058bb40a68dae5c9834acdda18b534de8 (diff) | |
download | tk-b8b29378dcd5a89e371ac9bd1ae4737d08379a46.zip tk-b8b29378dcd5a89e371ac9bd1ae4737d08379a46.tar.gz tk-b8b29378dcd5a89e371ac9bd1ae4737d08379a46.tar.bz2 |
Documentation for [.t edit undodepth/redodepth]
-rw-r--r-- | doc/text.n | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1295,6 +1295,12 @@ When the \fB\-undo\fR option is true, reapplies the last undone edits provided no other edits were done since then. Generates an error when the redo stack is empty. Does nothing when the \fB\-undo\fR option is false. .TP +\fIpathName \fBedit redodepth\fR +. +Returns the depth of the redo stack (number of redoable actions). When this is +zero there is nothing to redo. When the \fB\-undo\fR option is false zero is +returned. +.TP \fIpathName \fBedit reset\fR . Clears the undo and redo stacks. @@ -1310,6 +1316,12 @@ Undoes the last edit action when the \fB\-undo\fR option is true. An edit action is defined as all the insert and delete commands that are recorded on the undo stack in between two separators. Generates an error when the undo stack is empty. Does nothing when the \fB\-undo\fR option is false. +.TP +\fIpathName \fBedit undodepth\fR +. +Returns the depth of the undo stack (number of undoable actions). When this is +zero there is nothing to undo. When the \fB\-undo\fR option is false zero is +returned. .RE .TP \fIpathName \fBget\fR ?\fB\-displaychars\fR? ?\fB\-\-\fR? \fIindex1\fR ?\fIindex2 ...\fR? |