a bunch of (mostly) latex-leftover typos

svn: r11449

original commit: 6cd75acb0a8f69ba990e15ba7863002c08ddeafc
This commit is contained in:
Eli Barzilay 2008-08-27 07:07:59 +00:00
parent 49c8a599c1
commit 3fd9792839
8 changed files with 10 additions and 10 deletions

View File

@ -10,10 +10,10 @@
@defmixin[canvas:basic-mixin (editor-canvas%) (canvas:basic<%>)]{
}
@definterface[canvas:color<%> (canvas:basic<%>)]{
\index{background color}
@index{background color}
Mixins that implement this interface initialize the
background color of the canvas to the value of the
\index{'framework:basic-canvas-background}
@index{'framework:basic-canvas-background}
@scheme['framework:basic-canvas-background] preference.
Adds a callback so that when that preference is modified,
the background color changes.

View File

@ -18,7 +18,7 @@
}
@definterface[menu:can-restore-underscore<%> (labelled-menu-item<%>)]{
These menus can save and restore the underscores (indicated
via the \& characters in the original labels) in their
via the @litchar{&} characters in the original labels) in their
labels.
If the preference @scheme['framework:menu-bindings]

View File

@ -137,7 +137,7 @@ A second (optional) boolean argument indicates whether the callback
boolean?]
[(yield [v (or/c (one-of/c 'wait) evt?)])
any/c])]{
@;\index{pause}\index{wait}
@;@index{pause}@index{wait}
Yields control to event dispatching. See
@secref["eventspaceinfo"] for details.

View File

@ -134,7 +134,7 @@ Gets the virtual key code for the key event. The virtual key code is
@item{@indexed-scheme['f24]}
@item{@indexed-scheme['numlock]}
@item{@indexed-scheme['scroll]}
@item{@indexed-scheme['wheel-up] --- \index["wheel on mouse"]{mouse} wheel up one notch}
@item{@indexed-scheme['wheel-up] --- @index["wheel on mouse"]{mouse} wheel up one notch}
@item{@indexed-scheme['wheel-down] --- mouse wheel down one notch}
@item{@indexed-scheme['release] --- indicates a key-release event}
@item{@indexed-scheme['press] --- indicates a key-press event; usually only from @scheme[get-key-release-code]}

View File

@ -70,7 +70,7 @@ Starts (or restarts) the timer. If the timer is already running, its
The timer's alarm expires after @scheme[msec] milliseconds, at which
point @method[timer% notify] is called (on an event boundary). If
@scheme[just-once?]\ is @scheme[#f], the timer expires @italic{every}
@scheme[just-once?] is @scheme[#f], the timer expires @italic{every}
@scheme[msec] milliseconds until the timer is explicitly
stopped;\footnote{More precisely, the timer expires @scheme[msec]
milliseconds after @method[timer% notify] returns each time}

View File

@ -278,7 +278,7 @@ In a dialog, if @scheme[event] is an Escape key event, the event is
@item{
If @scheme[event] is an alphanumeric key event and the current top-level
window contains a control with a mnemonic matching the key (which is
installed via a label that contains ``\&''; see
installed via a label that contains @litchar{&}; see
@method[window<%> get-label] for more information), then the
keyboard focus is moved to the matching control. Furthermore, if the
matching control is a @scheme[button%], @scheme[check-box%], or

View File

@ -345,7 +345,7 @@ with the following program:
@schemeblock[
(code:comment #, @t{Create a dialog})
(define dialog (instantiate dialog\% ("Example")))
(define dialog (instantiate dialog% ("Example")))
(code:comment #, @t{Add a text field to the dialog})
(new text-field% [parent dialog] [label "Your name"])

View File

@ -110,7 +110,7 @@ Returns the window's cursor, or @scheme[#f] if this window's cursor
exact-integer?]{
Returns an exact integer representing a handle to the window in the
current platform's GUI toolbox. Cast this number from a C \cpp{long}
current platform's GUI toolbox. Cast this number from a C @cpp{long}
to a platform-specific C type:
@itemize{
@ -153,7 +153,7 @@ Gets a window's label, if any. Control windows generally display their
label can be an icon symbol @scheme['app], @scheme['caution], or
@scheme['stop].
The label string may contain ampersands (``\&''), which serve as
The label string may contain ampersands (@litchar{&}), which serve as
keyboard navigation annotations for controls under Windows and X. The
ampersands are not part of the displayed label of a control; instead,
ampersands are removed in the displayed label (under all platforms),