summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2004-11-17 13:46:57 (GMT)
committervincentdarley <vincentdarley>2004-11-17 13:46:57 (GMT)
commitdc8fe12f2a38100b8a5ab147770879d85aca3a17 (patch)
treeaaaa76b2b0c1962bf0ca6aebbf5541180b47e206
parent78a597d0093dec5b3343287ab7a5b1c06b42807d (diff)
downloadtk-dc8fe12f2a38100b8a5ab147770879d85aca3a17.zip
tk-dc8fe12f2a38100b8a5ab147770879d85aca3a17.tar.gz
tk-dc8fe12f2a38100b8a5ab147770879d85aca3a17.tar.bz2
improved documentation of -tabs
-rw-r--r--ChangeLog4
-rw-r--r--doc/text.n6
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 293e2e8..9233104 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-16 Vince Darley <vincentdarley@users.sourceforge.net>
+
+ * doc/text.n: clarified documentation on use of -tabs option.
+
2004-11-16 Don Porter <dgp@users.sourceforge.net>
* library/msgs/it.msg: Updated Italian message catalog.
diff --git a/doc/text.n b/doc/text.n
index 54bda98..b2fdfd9 100644
--- a/doc/text.n
+++ b/doc/text.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: text.n,v 1.31 2004/11/12 09:03:19 das Exp $
+'\" RCS: @(#) $Id: text.n,v 1.32 2004/11/17 13:47:07 vincentdarley Exp $
'\"
.so man.macros
.TH text n 8.5 Tk "Tk Built-In Commands"
@@ -127,7 +127,9 @@ The value of the \fBtabs\fR option may be overridden by \fB\-tabs\fR
options in tags.
If no \fB\-tabs\fR option is specified, or if it is specified as
an empty list, then Tk uses default tabs spaced every eight
-(average size) characters.
+(average size) characters. To achieve a different standard spacing,
+for example every 4 characters, simply configure the widget with
+\fB\-tabs \"[expr {4 * [font measure $font 0]}] left\"\fR.
.OP \-undo undo Undo
Specifies a boolean that says whether the undo mechanism is active or
not.