summaryrefslogtreecommitdiffstats
path: root/doc/text.n
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2016-07-29 19:28:31 (GMT)
committerfvogel <fvogel@noemail.net>2016-07-29 19:28:31 (GMT)
commitb373348daad6afe3246b458c017320a76512c1a6 (patch)
tree366506e6d68c9b7bbedcaef89485c6d16ebee89e /doc/text.n
parent379a8f1ce3d291654e65991020a62b72f5eff121 (diff)
downloadtk-b373348daad6afe3246b458c017320a76512c1a6.zip
tk-b373348daad6afe3246b458c017320a76512c1a6.tar.gz
tk-b373348daad6afe3246b458c017320a76512c1a6.tar.bz2
Clarified documentation about precedence of color specifications: -[lr]margincolor tag option > -background tag option > -background widget option
FossilOrigin-Name: 9dbcde851a8319e292b88b9abace7aa9cb786235
Diffstat (limited to 'doc/text.n')
-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