summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2004-11-17 13:46:56 (GMT)
committervincentdarley <vincentdarley@noemail.net>2004-11-17 13:46:56 (GMT)
commit7d33a2c2573fcdf923fd5207d42c408ab88e78fd (patch)
treeaaaa76b2b0c1962bf0ca6aebbf5541180b47e206
parent9714b2d2c056fd66047b5226bca5674dbf28fccf (diff)
downloadtk-7d33a2c2573fcdf923fd5207d42c408ab88e78fd.zip
tk-7d33a2c2573fcdf923fd5207d42c408ab88e78fd.tar.gz
tk-7d33a2c2573fcdf923fd5207d42c408ab88e78fd.tar.bz2
improved documentation of -tabs
FossilOrigin-Name: baa5f279b8b35af903336a6ca5ea71c7d1554c0f
-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.