From b4beb0c44cb5b918d1674d954ceba7655c8c62ad Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Fri, 21 May 2010 16:30:16 -0400 Subject: [PATCH] Small typos, some reformatting. Fixes PR10920 original commit: c4f67b3e747c1312459737d5ada8dc1b96b1864c --- collects/scribblings/gui/miscwin-funcs.scrbl | 54 +++++--------------- collects/scribblings/gui/wxme.scrbl | 6 +-- 2 files changed, 15 insertions(+), 45 deletions(-) diff --git a/collects/scribblings/gui/miscwin-funcs.scrbl b/collects/scribblings/gui/miscwin-funcs.scrbl index 42c4fb95..e86b2a0f 100644 --- a/collects/scribblings/gui/miscwin-funcs.scrbl +++ b/collects/scribblings/gui/miscwin-funcs.scrbl @@ -14,8 +14,7 @@ @title{Miscellaneous} -@defproc[(begin-busy-cursor) - void?]{ +@defproc[(begin-busy-cursor) void?]{ Changes the cursor to a watch cursor for all windows in the current eventspace. Use @@ -27,30 +26,15 @@ The cursor installed by @scheme[begin-busy-cursor] overrides any window-specific cursors installed with @method[window<%> set-cursor]. -See also -@scheme[is-busy?]. - - - +See also @scheme[is-busy?]. } -@defproc[(bell) - void?]{ - +@defproc[(bell) void?]{ Rings the system bell. - - - } -@defproc[(end-busy-cursor) - void?]{ - -See -@scheme[begin-busy-cursor]. - - - +@defproc[(end-busy-cursor) void?]{ +See @scheme[begin-busy-cursor]. } @defproc*[([(file-creator-and-type [filename path] @@ -234,12 +218,9 @@ The keymap for the read-eval-print loop's editor is initialized by calling the current keymap initializer procedure, which is determined by the @scheme[current-text-keymap-initializer] parameter. - - } -@defproc[(textual-read-eval-print-loop) - void?]{ +@defproc[(textual-read-eval-print-loop) void?]{ Similar to @scheme[read-eval-print-loop], except that evaluation uses a newly created eventspace. @@ -259,30 +240,21 @@ break is sent (via @scheme[break-thread]) to the created eventspace's @tech{handler thread}.} -@defproc[(hide-cursor-until-moved) - void?]{ +@defproc[(hide-cursor-until-moved) void?]{ Hides the cursor until the user moves the mouse or clicks the mouse button. (For some platforms, the cursor is not hidden if it is over a window in a different eventspace or application.) - - - } -@defproc[(is-busy?) - boolean?]{ +@defproc[(is-busy?) boolean?]{ Returns @scheme[#t] if a busy cursor has been installed with -@scheme[begin-busy-cursor] and not removed with +@scheme[begin-busy-cursor] and not removed with @scheme[end-busy-cursor]. - - - } -@defproc[(label->plain-label [label string]) - string]{ +@defproc[(label->plain-label [label string]) string?]{ Strips shortcut ampersands from @scheme[label], removes parenthesized ampersand--character combinations along with any surrounding space, @@ -292,15 +264,13 @@ Strips shortcut ampersands from @scheme[label], removes parenthesized } -@defproc[(make-gui-empty-namespace) - namespace?]{ +@defproc[(make-gui-empty-namespace) namespace?]{ Like @scheme[make-base-empty-namespace], but with @scheme[scheme/class] and @schememodname[scheme/gui/base] also attached to the result namespace.} -@defproc[(make-gui-namespace) - namespace?]{ +@defproc[(make-gui-namespace) namespace?]{ Like @scheme[make-base-namespace], but with @scheme[scheme/class] and @schememodname[scheme/gui/base] also required into the top-level diff --git a/collects/scribblings/gui/wxme.scrbl b/collects/scribblings/gui/wxme.scrbl index 6d9c4bf5..c165b806 100644 --- a/collects/scribblings/gui/wxme.scrbl +++ b/collects/scribblings/gui/wxme.scrbl @@ -32,7 +32,7 @@ magic bytes indicating a @tech{WXME}-format stream (see @secref["editorfileformat"]), @racket[#f] otherwise.} -@defproc[(wxme-port->text-port [in input-port?] [close? any/c #t]) +@defproc[(wxme-port->text-port [in input-port?] [close? any/c #t]) input-port?]{ Takes an input port whose stream starts with @tech{WXME}-format data @@ -47,11 +47,11 @@ See @secref["snipclassmapping"] for information about the kinds of non-text content that can be read.} -@defproc[(wxme-port->port [in input-port?] +@defproc[(wxme-port->port [in input-port?] [close? any/c #t] [snip-filter (any/c . -> . any/c) (lambda (_x) _x)]) input-port?]{ - + Takes an input port whose stream starts with @tech{WXME}-format data and returns an input port that produces text content converted to bytes, and non-text content as ``special'' values (see