summaryrefslogtreecommitdiffstats
path: root/doc/text.n
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-06-24 10:54:53 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-06-24 10:54:53 (GMT)
commit1c522063702f7be647b0c23ff52131c118fe3f51 (patch)
tree2558d8ad450d5d0583ea35e81a5cffcddb42d85b /doc/text.n
parent659bdeb01de6c5fdc987a657362f7cc25d6d8c1c (diff)
downloadtk-1c522063702f7be647b0c23ff52131c118fe3f51.zip
tk-1c522063702f7be647b0c23ff52131c118fe3f51.tar.gz
tk-1c522063702f7be647b0c23ff52131c118fe3f51.tar.bz2
bug #1997293 - fix documentation of text tag options.
Diffstat (limited to 'doc/text.n')
-rw-r--r--doc/text.n19
1 files changed, 7 insertions, 12 deletions
diff --git a/doc/text.n b/doc/text.n
index 926f896..1a776e1 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.54 2008/04/17 15:27:12 dkf Exp $
+'\" RCS: @(#) $Id: text.n,v 1.55 2008/06/24 10:54:53 patthoyts Exp $
'\"
.so man.macros
.TH text n 8.5 Tk "Tk Built-In Commands"
@@ -492,13 +492,10 @@ as an empty string, then a solid fill will be used for the
background.
.TP
\fB\-borderwidth \fIpixels\fR
-\fIPixels\fR specifies the width of a 3-D border to draw around
-the background.
-It may have any of the forms accepted by \fBTk_GetPixels\fR.
-This option is used in conjunction with the \fB\-relief\fR
-option to give a 3-D appearance to the background for characters;
-it is ignored unless the \fB\-background\fR option
-has been set for the tag.
+\fIPixels\fR specifies the width of a border to draw around
+the tag using any of the forms accepted by \fBTk_GetPixels\fR.
+This option should be used in conjuction with the
+\fB\-relief\fR option to provide the desired border.
.TP
\fB\-elide \fIboolean\fR
\fIElide\fR specifies whether the data should
@@ -568,12 +565,10 @@ the middle of characters.
\fIBoolean\fR may have any of the forms accepted by \fBTcl_GetBoolean\fR.
.TP
\fB\-relief \fIrelief\fR
-\fIRelief\fR specifies the 3-D relief to use for drawing backgrounds,
+\fIRelief\fR specifies the relief style to use for drawing the border,
in any of the forms accepted by \fBTk_GetRelief\fR.
This option is used in conjunction with the \fB\-borderwidth\fR
-option to give a 3-D appearance to the background for characters;
-it is ignored unless the \fB\-borderwidth\fR option
-has been set for the tag.
+option to enable to the desired border appearance.
.TP
\fB\-rmargin \fIpixels\fR
If the first non-elided character of a display line has a tag for which this