diff options
author | fvogel <fvogelnew1@free.fr> | 2015-10-09 19:54:29 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-10-09 19:54:29 (GMT) |
commit | 780118cbac5240ba602ff056b5bd34cb6a57046c (patch) | |
tree | 790fb2e39abe671d20dd161e5a8419d3e9dd4be9 | |
parent | befbed0e52d43e9fe81b8b577dd2dcf7ee01af03 (diff) | |
download | tk-780118cbac5240ba602ff056b5bd34cb6a57046c.zip tk-780118cbac5240ba602ff056b5bd34cb6a57046c.tar.gz tk-780118cbac5240ba602ff056b5bd34cb6a57046c.tar.bz2 |
Fixed bug [1815161] - .text count -ypixels wrong until widget is managed
-rw-r--r-- | doc/text.n | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1127,12 +1127,12 @@ each counting option given. Valid counting options are \fB\-chars\fR, \fB\-displaychars\fR, \fB\-displayindices\fR, \fB\-displaylines\fR, \fB\-indices\fR, \fB\-lines\fR, \fB\-xpixels\fR and \fB\-ypixels\fR. The default value, if no option is specified, is \fB\-indices\fR. There is an -additional possible option \fB\-update\fR which is a modifier. If given, -then all subsequent options ensure that any possible out of date -information is recalculated. This currently only has any effect for the -\fI\-ypixels\fR count (which, if \fB\-update\fR is not given, will use the text -widget's current cached value for each line). The count options are -interpreted as follows: +additional possible option \fB\-update\fR which is a modifier. If given (and +if the text widget is managed by a geometry manager), then all subsequent +options ensure that any possible out of date information is recalculated. +This currently only has any effect for the \fI\-ypixels\fR count (which, if +\fB\-update\fR is not given, will use the text widget's current cached value +for each line). The count options are interpreted as follows: .RS .IP \fB\-chars\fR count all characters, whether elided or not. Do not count |