diff options
author | fvogel <fvogelnew1@free.fr> | 2017-03-06 18:24:38 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-03-06 18:24:38 (GMT) |
commit | e98430e7e070536bd9d5ccb44afa4976b735ff65 (patch) | |
tree | 15779675471fdc625c17330f72e4c676f065d928 /doc/text.n | |
parent | ee16a52044d53a25664ecc7f02b042e3fb638baf (diff) | |
parent | 05fb5c3c424e8c68a0cf14a68d2f32570b2d5d69 (diff) | |
download | tk-e98430e7e070536bd9d5ccb44afa4976b735ff65.zip tk-e98430e7e070536bd9d5ccb44afa4976b735ff65.tar.gz tk-e98430e7e070536bd9d5ccb44afa4976b735ff65.tar.bz2 |
merge trunk
Diffstat (limited to 'doc/text.n')
-rw-r--r-- | doc/text.n | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -609,9 +609,11 @@ specified by the \fB\-foreground\fR tag option is used. \fB\-wrap \fImode\fR . \fIMode\fR specifies how to handle lines that are wider than the text's -window. It has the same legal values as the \fB\-wrap\fR option for the text -widget: \fBnone\fR, \fBchar\fR, or \fBword\fR. If this tag option is -specified, it overrides the \fB\-wrap\fR option for the text widget. +window. This option only applies to a display line if it applies to the +first non-elided character on that display line. It has the same legal +values as the \fB\-wrap\fR option for the text widget: \fBnone\fR, +\fBchar\fR, or \fBword\fR. If this tag option is specified, it +overrides the \fB\-wrap\fR option for the text widget. .PP If a character has several tags associated with it, and if their display options conflict, then the options of the highest priority tag are used. If a @@ -1307,8 +1309,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 . @@ -1321,9 +1324,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 |