diff options
author | fvogel <fvogelnew1@free.fr> | 2016-06-08 08:34:52 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-06-08 08:34:52 (GMT) |
commit | 940954ce6034eac3de51350f4d546ed7279e7ec9 (patch) | |
tree | 40584f27ada5d518a6e77eb213a445bd6feba74f /doc | |
parent | eb3fa653566d6bf130804d7d800f960d72819597 (diff) | |
download | tk-940954ce6034eac3de51350f4d546ed7279e7ec9.zip tk-940954ce6034eac3de51350f4d546ed7279e7ec9.tar.gz tk-940954ce6034eac3de51350f4d546ed7279e7ec9.tar.bz2 |
Updated documentation regarding return values for [.text edit undo/redo]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/text.n | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1305,8 +1305,9 @@ of the widget to \fIboolean\fR. \fIpathName \fBedit redo\fR . 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. +no other edits were done since then, and returns a list of indices indicating +what ranges were changed by the redo operation. Generates an error when the +redo stack is empty. Does nothing when the \fB\-undo\fR option is false. .TP \fIpathName \fBedit reset\fR . @@ -1319,9 +1320,10 @@ Inserts a separator (boundary) on the undo stack. Does nothing when the .TP \fIpathName \fBedit undo\fR . -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 +Undoes the last edit action when the \fB\-undo\fR option is true, and returns a +list of indices indicating what ranges were changed by the undo operation. 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. .RE .TP |