summaryrefslogtreecommitdiffstats
path: root/doc/canvas.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-22 15:02:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-22 15:02:23 (GMT)
commit127c180c66bf291cae359b4c83fcfce3961af8be (patch)
tree75c30064dcd65da3c0b1a72f00f0985cee83c720 /doc/canvas.n
parente1486d48b18bdd738d42c22f61f597b17ea02fc4 (diff)
downloadtk-127c180c66bf291cae359b4c83fcfce3961af8be.zip
tk-127c180c66bf291cae359b4c83fcfce3961af8be.tar.gz
tk-127c180c66bf291cae359b4c83fcfce3961af8be.tar.bz2
Allow using floating-point number in "scroll (x|y)view (units|pages)". They are rounded away from zero towards an integer.
Diffstat (limited to 'doc/canvas.n')
-rw-r--r--doc/canvas.n3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/canvas.n b/doc/canvas.n
index ddaebcf..95c732e 100644
--- a/doc/canvas.n
+++ b/doc/canvas.n
@@ -1146,7 +1146,8 @@ total width of the canvas is off-screen to the left.
.
This command shifts the view in the window left or right according to
\fInumber\fR and \fIwhat\fR.
-\fINumber\fR must be an integer.
+\fINumber\fR must be an integer or a float, but if it is a float then
+it is converted to an integer, rounded away from 0.
\fIWhat\fR must be either \fBpages\fR or \fBunits\fR or an abbreviation
of one of these.
If \fIwhat is \fBpages\fR then the view