Fix some typos

This commit is contained in:
Eli Barzilay 2010-08-25 00:11:36 -04:00
parent f5ac792625
commit f04a60da61

View File

@ -115,7 +115,7 @@
(manuals) (manuals)
@{Returns the list of keywords for the manuals from @scheme[manuals] by @{Returns the list of keywords for the manuals from @scheme[manuals] by
extracting all of the documented exports of the manuals. The symbols are extracting all of the documented exports of the manuals. The symbols are
meant to be module paths, eg the quoted form of the argument to meant to be module paths, e.g., the quoted form of the argument to
@scheme[require]. @scheme[require].
If @scheme[manuals] is false, then all of the documented names are used.}) If @scheme[manuals] is false, then all of the documented names are used.})
@ -131,7 +131,7 @@
number-snip:make-repeating-decimal-snip number-snip:make-repeating-decimal-snip
(number? boolean? . -> . (is-a?/c snip%)) (number? boolean? . -> . (is-a?/c snip%))
(num show-prefix?) (num show-prefix?)
@{Makes a number snip that shows the decimal expansion for @scheme[number] @{Makes a number snip that shows the decimal expansion for @scheme[number].
The boolean indicates if a @litchar{#e} prefix appears on the number. The boolean indicates if a @litchar{#e} prefix appears on the number.
See also @scheme[number-snip:make-fraction-snip].}) See also @scheme[number-snip:make-fraction-snip].})
@ -150,14 +150,14 @@
version:add-spec version:add-spec
(any/c any/c . -> . void?) (any/c any/c . -> . void?)
(spec revision) (spec revision)
@{These two values are appended to the version string. @scheme[write] is @{The two values are appended to the version string. @scheme[write] is used
used to transform them to strings. For example: to transform them to strings. For example:
@scheme[(version:add-spec 's 1)] @scheme[(version:add-spec 's 1)]
in version 205 will make the version string be @litchar{205s1}. The in version 205 will make the version string be @litchar{205s1}. The
symbols @scheme['f] and @scheme['d] are used internally for framework and symbols @scheme['f] and @scheme['d] were used internally for framework and
drscheme revisions.}) drscheme revisions in the past.})
(proc-doc/names (proc-doc/names
version:version version:version
@ -397,7 +397,7 @@
@item{invokes the exit-callbacks, with @scheme[exit:can-exit?] if none of @item{invokes the exit-callbacks, with @scheme[exit:can-exit?] if none of
the ``can?'' callbacks return @scheme[#f],} the ``can?'' callbacks return @scheme[#f],}
@item{invokes @scheme[exit:on-exit] and then} @item{invokes @scheme[exit:on-exit] and then}
@item{queues a callback that calls @scheme[exit] (a mzscheme procedure) @item{queues a callback that calls @scheme[exit] (a racket procedure)
and (if @scheme[exit] returns) sets the result of and (if @scheme[exit] returns) sets the result of
@scheme[exit:exiting?] back to @scheme[#t].}]}) @scheme[exit:exiting?] back to @scheme[#t].}]})
@ -604,7 +604,7 @@
(size-pref-sym width height) (size-pref-sym width height)
@{Initializes a preference for the @scheme[frame:size-pref] mixin. @{Initializes a preference for the @scheme[frame:size-pref] mixin.
The first argument should be the preferences symbol, and the second an The first argument should be the preferences symbol, and the second and
third should be the default width and height, respectively.}) third should be the default width and height, respectively.})
(proc-doc/names (proc-doc/names
@ -650,7 +650,7 @@
@scheme[frame:basic-mixin]. @scheme[frame:basic-mixin].
@itemize[ @itemize[
@item{If it is @scheme[#f], then its value is ignored.} @item{If it is @scheme[#f], then its value is ignored.}
@item{It it is a @scheme[bitmap%], then the @method[frame% set-icon] is @item{If it is a @scheme[bitmap%], then the @method[frame% set-icon] is
called with the bitmap, the result of invoking the called with the bitmap, the result of invoking the
@scheme[bitmap% get-loaded-mask] method, and @scheme['both].} @scheme[bitmap% get-loaded-mask] method, and @scheme['both].}
@item{If it is a pair of bitmaps, then the @method[frame% set-icon] @item{If it is a pair of bitmaps, then the @method[frame% set-icon]
@ -718,7 +718,7 @@
handler:handler-handler handler:handler-handler
(handler:handler? . -> . (path? . -> . (is-a?/c frame:editor<%>))) (handler:handler? . -> . (path? . -> . (is-a?/c frame:editor<%>)))
(handler) (handler)
@{Extracs the handler's handling function.}) @{Extracts the handler's handling function.})
(proc-doc/names (proc-doc/names
handler:insert-format-handler handler:insert-format-handler
@ -1001,7 +1001,7 @@
keymap:call/text-keymap-initializer keymap:call/text-keymap-initializer
((-> any/c) . -> . any/c) ((-> any/c) . -> . any/c)
(thunk-proc) (thunk-proc)
@{Thus function parameterizes the call to @scheme[thunk-proc] by setting the @{This function parameterizes the call to @scheme[thunk-proc] by setting the
keymap-initialization procedure (see keymap-initialization procedure (see
@scheme[current-text-keymap-initializer]) to install the framework's @scheme[current-text-keymap-initializer]) to install the framework's
standard text bindings.}) standard text bindings.})
@ -1029,7 +1029,7 @@
@item{@scheme["v"]: paste} @item{@scheme["v"]: paste}
@item{@scheme["a"]: select all}] @item{@scheme["a"]: select all}]
where each key is prefixed with the menu-shortcut key, based on the where each key is prefixed with the menu-shortcut key, based on the
platform. Under unix, the shortcut is @scheme["a:"]; under windows the platform. Under Unix, the shortcut is @scheme["a:"]; under windows the
shortcut key is @scheme["c:"] and under MacOS, the shortcut key is shortcut key is @scheme["c:"] and under MacOS, the shortcut key is
@scheme["d:"].}) @scheme["d:"].})
@ -1067,7 +1067,7 @@
@{This prefixes a key with all of the different meta prefixes and returns a @{This prefixes a key with all of the different meta prefixes and returns a
list of the prefixed strings. list of the prefixed strings.
takes a keymap, a base key specification, and a function name; it prefixes Takes a keymap, a base key specification, and a function name; it prefixes
the base key with all ``meta'' combination prefixes, and installs the new the base key with all ``meta'' combination prefixes, and installs the new
combinations into the keymap. For example, combinations into the keymap. For example,
@scheme[(keymap:send-map-function-meta keymap "a" func)] maps @scheme[(keymap:send-map-function-meta keymap "a" func)] maps
@ -1104,9 +1104,7 @@
keymap:setup-global keymap:setup-global
((is-a?/c keymap%) . -> . void?) ((is-a?/c keymap%) . -> . void?)
(keymap) (keymap)
@{This extends a @scheme[keymap%] with the general bindings. @{This function extends a @scheme[keymap%] with the following functions:
This function extends a @scheme[keymap%] with the following functions:
@itemize[ @itemize[
@item{@mapdesc[ring-bell any] --- Rings the bell (using @scheme[bell]) @item{@mapdesc[ring-bell any] --- Rings the bell (using @scheme[bell])
and removes the search panel from the frame, if there.} and removes the search panel from the frame, if there.}
@ -1158,7 +1156,7 @@
the clipboard.} the clipboard.}
@item{@mapdesc[cut-clipboard mouse] --- Cuts the current selection to the @item{@mapdesc[cut-clipboard mouse] --- Cuts the current selection to the
clipboard.} clipboard.}
@item{@mapdesc[paste-clipboard mouse] --- Patses the clipboard to the @item{@mapdesc[paste-clipboard mouse] --- Pastes the clipboard to the
current selection.} current selection.}
@item{@mapdesc[copy-click-region mouse] --- Copies the region between the @item{@mapdesc[copy-click-region mouse] --- Copies the region between the
caret and the input mouse event.} caret and the input mouse event.}
@ -1170,8 +1168,8 @@
input mouse event.} input mouse event.}
@item{@mapdesc[select-click-line mouse] --- Selects the line under the @item{@mapdesc[select-click-line mouse] --- Selects the line under the
input mouse event.} input mouse event.}
@item{@mapdesc[start-macro key] -- Starts building a keyboard macro} @item{@mapdesc[start-macro key] -- Starts recording a keyboard macro}
@item{@mapdesc[end-macro key] --- Stops building a keyboard macro} @item{@mapdesc[end-macro key] --- Stops recording a keyboard macro}
@item{@mapdesc[do-macro key] --- Executes the last keyboard macro} @item{@mapdesc[do-macro key] --- Executes the last keyboard macro}
@item{@mapdesc[toggle-overwrite key] --- Toggles overwriting mode}] @item{@mapdesc[toggle-overwrite key] --- Toggles overwriting mode}]