summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordas <das>2004-11-12 09:03:18 (GMT)
committerdas <das>2004-11-12 09:03:18 (GMT)
commitf85b8afb4ef1172832162a896e590395ec674c7f (patch)
tree99eaf7f8188df8c65af5554d331dedf2b3c7ac98 /doc
parent35871a7064782cda8a3e9c75d86c2fc637694b66 (diff)
downloadtk-f85b8afb4ef1172832162a896e590395ec674c7f.zip
tk-f85b8afb4ef1172832162a896e590395ec674c7f.tar.gz
tk-f85b8afb4ef1172832162a896e590395ec674c7f.tar.bz2
* doc/SetOptions.3:
* doc/text.n: fixed *roff errors uncovered by running 'make html'. * macosx/tkMacOSXFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make sure that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug 618872]
Diffstat (limited to 'doc')
-rw-r--r--doc/SetOptions.34
-rw-r--r--doc/text.n11
2 files changed, 8 insertions, 7 deletions
diff --git a/doc/SetOptions.3 b/doc/SetOptions.3
index 7e4dc13..e178a27 100644
--- a/doc/SetOptions.3
+++ b/doc/SetOptions.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: SetOptions.3,v 1.11 2004/09/19 16:05:36 dkf Exp $
+'\" RCS: @(#) $Id: SetOptions.3,v 1.12 2004/11/12 09:03:19 das Exp $
'\"
.so man.macros
.TH Tk_SetOptions 3 8.1 Tk "Tk Library Procedures"
@@ -265,7 +265,7 @@ typedef struct {
} Tk_OptionSpec;
.CE
The \fItype\fR field indicates what kind of configuration option this is
-(e.g. \fBTK_OPTION_COLOR\fB for a color value, or \fBTK_OPTION_INT\fR for
+(e.g. \fBTK_OPTION_COLOR\fR for a color value, or \fBTK_OPTION_INT\fR for
an integer value). \fIType\fR determines how the
value of the option is parsed (more on this below).
The \fIoptionName\fR field is a string such as \fB\-font\fR or \fB\-bg\fR;
diff --git a/doc/text.n b/doc/text.n
index dadf675..54bda98 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.30 2004/10/28 12:25:53 dkf Exp $
+'\" RCS: @(#) $Id: text.n,v 1.31 2004/11/12 09:03:19 das Exp $
'\"
.so man.macros
.TH text n 8.5 Tk "Tk Built-In Commands"
@@ -55,8 +55,8 @@ in the font given by the \fB\-font\fR option.
Must be at least one.
.OP \-inactiveselectionbackground inactiveSelectionBackground Foreground
.VS 8.5
-Specifies the colour to use for the selection (the \fB\sel\fR tag) when
-the window does not have the input focus. If empty, \fB\{}\fR, then no
+Specifies the colour to use for the selection (the \fBsel\fR tag) when
+the window does not have the input focus. If empty, \fB{}\fR, then no
selection is shown when the window does not have the focus.
.VE 8.5
.OP \-maxundo maxUndo MaxUndo
@@ -703,7 +703,7 @@ the window is destroyed.
.VS 8.5
Similarly if the text widget as a whole is deleted, then the window is
destroyed.
-.vE 8.5
+.VE 8.5
.PP
When an embedded window is added to a text widget with the
\fBwindow create\fR widget command, several configuration
@@ -1408,7 +1408,7 @@ This command is used to create and query widget peers. It has
two forms, depending on \fIoption\fR:
.RS
.TP
-\fIpathName \fBpeer create \fInewPathName\fR ?fIoptions\fR?
+\fIpathName \fBpeer create \fInewPathName\fR ?\fIoptions\fR?
Creates a peer text widget with the given \fInewPathName\fR, and any
optional standard configuration options (as for the \fItext\fR command).
By default the peer will have the same start and end line as the
@@ -1418,6 +1418,7 @@ configuration options.
\fIpathName \fBpeer names\fR
Returns a list of peers of this widget (this does not include the widget
itself). The order within this list is undefined.
+.RE
.TP
\fIpathName \fBreplace\fR \fIindex1 index2 chars\fR ?\fItagList chars tagList ...\fR?
Replaces the range of characters between \fIindex1\fR and \fIindex2\fR