Tk Source Code

Artifact [5bb15b76]
Login

Artifact 5bb15b76853ad18a3f015be6dbf27c1f2074ae3c:

Attachment "text_menu_n.patch" to ticket [1010083f] added by mkolesn 2004-08-16 22:29:14.
Index: menu.n
===================================================================
RCS file: /cvsroot/tktoolkit/tk/doc/menu.n,v
retrieving revision 1.9
diff -u -r1.9 menu.n
--- menu.n	4 Mar 2004 00:06:06 -0000	1.9
+++ menu.n	16 Aug 2004 14:48:44 -0000
@@ -29,7 +29,7 @@
 .OP \-postcommand postCommand Command
 If this option is specified then it provides a Tcl command to execute
 each time the menu is posted.  The command is invoked by the \fBpost\fR
-widget command before posting the menu. Note that in 8.0 on Macintosh
+widget command before posting the menu. Note that in Tcl 8.0 on Macintosh
 and Windows, all commands in a menu systems are executed before any
 are posted. This is due to the limitations in the individual platforms'
 menu managers.
@@ -236,7 +236,7 @@
 \fBtoplevel\fR command for syntax). On the Macintosh, whenever the
 toplevel is in front, this menu's cascade items will appear in the
 menubar across the top of the main monitor. On Windows and Unix, this
-menu's items will be displayed in a menubar accross the top of the
+menu's items will be displayed in a menubar across the top of the
 window. These menus will behave according to the interface guidelines
 of their platforms. For every menu set as a menubar, a clone menu is
 made. See the \fBCLONES\fR section for more information.
@@ -277,7 +277,7 @@
 When Tk see a Help menu on the Macintosh, the menu's contents are
 appended to the standard help menu on the right of the user's menubar
 whenever the user's menubar is in front. The first items in the menu
-are provided by Apple. Similar to the Apple Menu, cusomization in this
+are provided by Apple. Similar to the Apple Menu, customization in this
 menu is limited to what the system provides.
 .PP
 When Tk sees a System menu on Windows, its items are appended to the 
@@ -418,7 +418,7 @@
 .VS 8.0
 .TP
 \fB\-columnbreak \fIvalue\fR
-When this option is zero, the appears below the previous entry. When
+When this option is zero, the menu appears below the previous entry. When
 this option is one, the menu appears at the top of a new column in the
 menu.
 .VE
@@ -462,7 +462,7 @@
 .TP
 \fB\-image \fIvalue\fR
 Specifies an image to display in the menu instead of a text string
-or bitmap
+or bitmap.
 The image must have been created by some previous invocation of
 \fBimage create\fR.
 This option overrides the \fB\-label\fR and \fB\-bitmap\fR options
@@ -560,7 +560,7 @@
 \fIpathName\fR \fBclone\fR \fInewPathname ?cloneType?\fR
 Makes a clone of the current menu named \fInewPathName\fR. This clone
 is a menu in its own right, but any changes to the clone are
-propogated to the original menu and vice versa. \fIcloneType\fR can be
+propagated to the original menu and vice versa. \fIcloneType\fR can be
 \fBnormal\fR, \fBmenubar\fR, or \fBtearoff\fR. Should not normally be
 called outside of the Tk library. See the \fBCLONES\fR section for
 more information.
@@ -731,7 +731,7 @@
 unpost the menu.
 .IP [5]
 If any of the entries in a menu have letters underlined with
-with \fB\-underline\fR option, then pressing one of the underlined
+\fB\-underline\fR option, then pressing one of the underlined
 letters (or its upper-case or lower-case equivalent) invokes that
 entry and unposts the menu.
 .IP [6]
Index: text.n
===================================================================
RCS file: /cvsroot/tktoolkit/tk/doc/text.n,v
retrieving revision 1.26
diff -u -r1.26 text.n
--- text.n	4 Jun 2004 10:51:17 -0000	1.26
+++ text.n	16 Aug 2004 14:36:06 -0000
@@ -58,21 +58,21 @@
 using any of the standard forms for screen distances.
 If a line wraps, this option only applies to the first line
 on the display.
-This option may be overriden with \fB\-spacing1\fR options in
+This option may be overridden with \fB\-spacing1\fR options in
 tags.
 .OP \-spacing2 spacing2 Spacing2
 For lines that wrap (so that they cover more than one line on the
 display) this option specifies additional space to provide between
 the display lines that represent a single line of text.
 The value may have any of the standard forms for screen distances.
-This option may be overriden with \fB\-spacing2\fR options in
+This option may be overridden with \fB\-spacing2\fR options in
 tags.
 .OP \-spacing3 spacing3 Spacing3
 Requests additional space below each text line in the widget,
 using any of the standard forms for screen distances.
 If a line wraps, this option only applies to the last line
 on the display.
-This option may be overriden with \fB\-spacing3\fR options in
+This option may be overridden with \fB\-spacing3\fR options in
 tags.
 .OP \-state state State
 Specifies one of two states for the text:  \fBnormal\fR or \fBdisabled\fR.
@@ -190,7 +190,7 @@
 the index from the starting point (e.g. move forward or backward one
 character).  Every index must contain a \fIbase\fR, but the
 \fImodifier\fRs are optional.  Most modifiers (as documented below) allow
-an optional submodifier.  Valid \fIsubmodifier\fRs are nothing, \fIany\fB
+an optional submodifier.  Valid submodifiers are \fIany\fR
 or \fIdisplay\fR. If the submodifier is abbreviated, then it must be
 followed by whitespace, but otherwise there need be no space between the
 submodifier and the following \fImodifier\fR.  Typically the \fIdisplay\fR
@@ -369,7 +369,7 @@
 A tag is a textual string that is associated with some of the characters
 in a text.
 Tags may contain arbitrary characters, but it is probably best to
-avoid using the the characters `` '' (space), \fB+\fR, or \fB\-\fR:
+avoid using the characters `` '' (space), \fB+\fR, or \fB\-\fR:
 these characters have special meaning in indices, so tags containing
 them can't be used as indices.
 There may be any number of tags associated with characters in a
@@ -703,7 +703,7 @@
 Each embedded image occupies one unit's worth of index space
 in the text widget, and it may be referred to either by
 its position in the widget's index space, or the name it is assigned
-when the image is inserted into the text widget widh \fBimage create\fP.
+when the image is inserted into the text widget with \fBimage create\fP.
 If the range of text containing the embedded image is deleted then
 that copy of the image is removed from the screen.
 .PP
@@ -745,7 +745,7 @@
 Specifies the name by which this image instance may be referenced in
 the text widget. If \fIImageName\fP is not supplied, then the
 name of the Tk image is used instead.
-If the \fIimageName\fP is already in use, \fI#nn\fP is appended to
+If the \fIImageName\fP is already in use, \fI#nn\fP is appended to
 the end of the name as described above.
 .TP
 \fB\-padx \fIpixels\fR
@@ -800,7 +800,7 @@
 .SH "THE MODIFIED FLAG"
 The text widget can keep track of changes to the content of the widget
 by means of the modified flag. Inserting or deleting text will set
-this flag. The flag can be queried, set and cleared programatically
+this flag. The flag can be queried, set and cleared programmatically
 as well. Whenever the flag changes state a \fB<<Modified>>\fR virtual 
 event is generated. See the \fBedit modified\fR widget command for 
 more details.
@@ -821,7 +821,7 @@
 undo and redo stacks can be cleared to keep their depth under control.
 .PP
 Separators are inserted automatically when the \fB-autoseparators\fR
-widget option is true.  You can insert separators programatically as
+widget option is true.  You can insert separators programmatically as
 well.  If a separator is already present at the top of the undo stack
 no other will be inserted.  That means that two separators on the undo
 stack are always separated by at least one insert or delete action.
@@ -997,7 +997,7 @@
 If more indices are given, multiple ranges of text will be deleted.
 All indices are first checked for validity before any deletions are made.
 They are sorted and the text is removed from the last range to the
-first range to deleted text does not cause a undesired index shifting
+first range to deleted text does not cause an undesired index shifting
 side-effects.  If multiple ranges with the same start index are given,
 then the longest range is used.  If overlapping ranges are given, then
 they will be merged into spans that do not cause deletion of text
@@ -1069,7 +1069,7 @@
 text up to the next element or the end of range indicated by \fIindex2\fR.
 A text element does not span newlines.  A multi-line block of text that
 contains no marks or tag transitions will still be dumped as a set
-of text seqments that each end with a newline.  The newline is part
+of text segments that each end with a newline.  The newline is part
 of the value.
 .TP
 \fB\-window\fR
@@ -1384,7 +1384,7 @@
 An error will be thrown if this switch is used without \fB\-all\fR.
 .TP
 \fB\-elide\fR
-Find elidden (hidden) text as well. By default only displayed text is
+Find elided (hidden) text as well. By default only displayed text is
 searched.
 .TP
 \fB\-\|\-\fR
@@ -2009,7 +2009,7 @@
 .PP
 The \fBsearch -regexp\fR sub-command attempts to perform sophisticated
 regexp matching across multiple lines in an efficient fashion (since Tk
-8.5), examing each line individually, and then in small groups of lines,
+8.5), examining each line individually, and then in small groups of lines,
 whether searching forwards or backwards.  Under certain conditions the
 search result might differ from that obtained by applying the same regexp
 to the entire text from the widget in one go.  For example, when