summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-07-29 19:28:31 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-07-29 19:28:31 (GMT)
commit3cd8fb236d01529992f8e191649d0ea48b0669f5 (patch)
tree366506e6d68c9b7bbedcaef89485c6d16ebee89e
parent549adde50fcfb69493f670105f83cfb8dbcb8afe (diff)
downloadtk-3cd8fb236d01529992f8e191649d0ea48b0669f5.zip
tk-3cd8fb236d01529992f8e191649d0ea48b0669f5.tar.gz
tk-3cd8fb236d01529992f8e191649d0ea48b0669f5.tar.bz2
Clarified documentation about precedence of color specifications: -[lr]margincolor tag option > -background tag option > -background widget option
-rw-r--r--doc/text.n10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/text.n b/doc/text.n
index e2bb01f..6cd01f0 100644
--- a/doc/text.n
+++ b/doc/text.n
@@ -492,8 +492,9 @@ second and later display lines for a text line.
contain characters because they are indented by \fB\-lmargin1\fR or
\fB\-lmargin2\fR. It may have any of the forms accepted by
\fBTk_GetColor\fR.If \fIcolor\fR has not been specified, or if it is
-specified as an empty string, then the color specified by the
-\fB-background\fR widget option is used.
+specified as an empty string, then the color used is specified by the
+\fB-background\fR tag option (or, if this is also unspecified, by the
+\fB-background\fR widget option).
.TP
\fB\-offset \fIpixels\fR
.
@@ -537,9 +538,10 @@ character of that display line.
.
\fIColor\fR specifies the background color to use in regions that do not
contain characters because they are indented by \fB\-rmargin1\fR. It may
-have any of the forms accepted by \fBTk_GetColor\fR.If \fIcolor\fR has not
+have any of the forms accepted by \fBTk_GetColor\fR. If \fIcolor\fR has not
been specified, or if it is specified as an empty string, then the color
-specified by the \fB-background\fR widget option is used.
+used is specified by the \fB-background\fR tag option (or, if this is also
+unspecified, by the \fB-background\fR widget option).
.TP
\fB\-selectbackground \fIcolor\fR
\fIColor\fR specifies the background color to use when displaying selected