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 | 8777af2f8e6d1d7df3a1f1bb21bd17f42371eb22 (patch) | |
tree | 790fb2e39abe671d20dd161e5a8419d3e9dd4be9 | |
parent | 6a89354818ae034dde6cd0576e8945f2789e7e33 (diff) | |
download | tk-8777af2f8e6d1d7df3a1f1bb21bd17f42371eb22.zip tk-8777af2f8e6d1d7df3a1f1bb21bd17f42371eb22.tar.gz tk-8777af2f8e6d1d7df3a1f1bb21bd17f42371eb22.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 |