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 | b26c67237cf9c924afb025dd916d40d86fa086a6 (patch) | |
tree | 672f44f7099cd42becc4df428ced22a5c7b9184a | |
parent | 5f8596f5fb930c8f6a533892ea7348ba6afe6e27 (diff) | |
download | tk-b26c67237cf9c924afb025dd916d40d86fa086a6.zip tk-b26c67237cf9c924afb025dd916d40d86fa086a6.tar.gz tk-b26c67237cf9c924afb025dd916d40d86fa086a6.tar.bz2 |
Fixed bug [1815161] - .text count -ypixels wrong until widget is managed
-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 |