From 3cd8fb236d01529992f8e191649d0ea48b0669f5 Mon Sep 17 00:00:00 2001 From: fvogel Date: Fri, 29 Jul 2016 19:28:31 +0000 Subject: Clarified documentation about precedence of color specifications: -[lr]margincolor tag option > -background tag option > -background widget option --- doc/text.n | 10 ++++++---- 1 file 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 -- cgit v0.12 From a4a43d72e4aed85f1725e23ac681581529182047 Mon Sep 17 00:00:00 2001 From: fvogel Date: Sun, 31 Jul 2016 13:58:08 +0000 Subject: Added missing space --- doc/text.n | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/text.n b/doc/text.n index 6cd01f0..481580d 100644 --- a/doc/text.n +++ b/doc/text.n @@ -491,7 +491,7 @@ second and later display lines for a text line. \fIColor\fR specifies the background color to use in regions that do not 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 +\fBTk_GetColor\fR. If \fIcolor\fR has not been specified, or if it is 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). -- cgit v0.12