diff --git a/collects/scribblings/gui/editor-snip-class.scrbl b/collects/scribblings/gui/editor-snip-class.scrbl index e21d7fb45e..9d8182eb49 100644 --- a/collects/scribblings/gui/editor-snip-class.scrbl +++ b/collects/scribblings/gui/editor-snip-class.scrbl @@ -77,7 +77,7 @@ See also @method[editor-snip% set-align-top-line]. @defmethod[(get-editor) - (or/c (or/c @scheme[text%] (is-a?/c pasteboard%)) false/c)]{ + (or/c (or/c (is-a?/c text%) (is-a?/c pasteboard%)) false/c)]{ Returns the editor contained by the snip, or @scheme[#f] is there is no editor. @@ -226,7 +226,7 @@ See also @method[editor-snip% get-align-top-line]. } -@defmethod[(set-editor [editor (or/c (or/c @scheme[text%] (is-a?/c pasteboard%)) false/c)]) +@defmethod[(set-editor [editor (or/c (or/c (is-a?/c text%) (is-a?/c pasteboard%)) false/c)]) void?]{ Sets the editor contained by the snip, releasing the old editor in the diff --git a/collects/scribblings/gui/snip-admin-class.scrbl b/collects/scribblings/gui/snip-admin-class.scrbl index 4d478b9755..c63868b706 100644 --- a/collects/scribblings/gui/snip-admin-class.scrbl +++ b/collects/scribblings/gui/snip-admin-class.scrbl @@ -35,7 +35,7 @@ Gets a drawing context suitable for determining display size } @defmethod[(get-editor) - (or/c @scheme[text%] (is-a?/c pasteboard%))]{ + (or/c (is-a?/c text%) (is-a?/c pasteboard%))]{ Returns the editor that this administrator reports to (directly or indirectly). diff --git a/collects/scribblings/gui/text-class.scrbl b/collects/scribblings/gui/text-class.scrbl index e773cc2350..587d1afca1 100644 --- a/collects/scribblings/gui/text-class.scrbl +++ b/collects/scribblings/gui/text-class.scrbl @@ -327,12 +327,12 @@ See also @method[text% hide-caret]. ([(change-style [delta (or/c (is-a?/c style-delta%) false/c)] [start (or/c nonnegative-exact-integer? (one/of 'start)) 'start] [end (or/c nonnegative-exact-integer? (one/of 'end)) 'end] - [counts-as-mod? any/c @scheme[#t]]) + [counts-as-mod? any/c #t]) void?] [(change-style [style (or/c (is-a?/c style<%>) false/c)] [start (or/c nonnegative-exact-integer? (one/of 'start)) 'start] [end (or/c nonnegative-exact-integer? (one/of 'end)) 'end] - [counts-as-mod? any/c @scheme[#t]]) + [counts-as-mod? any/c #t]) void?])]{ Changes the style for a region in the editor by applying a style delta