diff options
author | fvogel <fvogelnew1@free.fr> | 2015-10-09 19:58:30 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-10-09 19:58:30 (GMT) |
commit | f59d9bb55362d99baf3a6e42b9e567232de14c56 (patch) | |
tree | 672f44f7099cd42becc4df428ced22a5c7b9184a /doc/text.n | |
parent | 4d2b0d587fba77e10b06b3353f3c4a07eabde390 (diff) | |
download | tk-f59d9bb55362d99baf3a6e42b9e567232de14c56.zip tk-f59d9bb55362d99baf3a6e42b9e567232de14c56.tar.gz tk-f59d9bb55362d99baf3a6e42b9e567232de14c56.tar.bz2 |
Fixed bug [1815161] - .text count -ypixels wrong until widget is managed
Diffstat (limited to 'doc/text.n')
-rw-r--r-- | doc/text.n | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -976,11 +976,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 \fB\-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 \fB\-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 embedded windows or |