From f0b72082eb41971b65d08d1fed316fb05214a12a Mon Sep 17 00:00:00 2001 From: Carl Eastlund Date: Thu, 20 Nov 2008 21:15:21 +0000 Subject: [PATCH] Fixed typos in Plugin docs: Many contracts had redundant @scheme[...] around them, which rendered as (scheme ...) in the final product. svn: r12546 --- collects/scribblings/tools/frame.scrbl | 6 +++--- collects/scribblings/tools/language.scrbl | 2 +- collects/scribblings/tools/rep.scrbl | 6 +++--- collects/scribblings/tools/unit.scrbl | 22 +++++++++++----------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/collects/scribblings/tools/frame.scrbl b/collects/scribblings/tools/frame.scrbl index d35029a89a..38e59531e4 100644 --- a/collects/scribblings/tools/frame.scrbl +++ b/collects/scribblings/tools/frame.scrbl @@ -60,7 +60,7 @@ if the } @defmethod[#:mode override - (file-menu:between-open-and-revert [file-menu (is-a?/c @scheme[menu%])]) + (file-menu:between-open-and-revert [file-menu (is-a?/c menu%)]) void?]{ Adds an ``Install .plt File...'' menu item, which @@ -72,7 +72,7 @@ method. } @defmethod[#:mode override - (file-menu:between-print-and-close [file-menu (is-a?/c @scheme[menu%])]) + (file-menu:between-print-and-close [file-menu (is-a?/c menu%)]) void?]{ Calls the super method. Then, creates a menu item for @@ -187,7 +187,7 @@ This interface is the result of the @scheme[drscheme:frame:basics-mixin] -@defmethod[(add-show-menu-items [show-menu (is-a?/c @scheme[menu%])]) +@defmethod[(add-show-menu-items [show-menu (is-a?/c menu%)]) void?]{ @methspec{ diff --git a/collects/scribblings/tools/language.scrbl b/collects/scribblings/tools/language.scrbl index f866ef30ed..57970c2498 100644 --- a/collects/scribblings/tools/language.scrbl +++ b/collects/scribblings/tools/language.scrbl @@ -415,7 +415,7 @@ for this language. } @defmethod[(get-transformer-module) - (or/c quoted-module-path @scheme[#f])]{ + (or/c quoted-module-path #f)]{ This method specifies the module that defines the transformation language. It is used to initialize the transformer portion of the user's namespace. diff --git a/collects/scribblings/tools/rep.scrbl b/collects/scribblings/tools/rep.scrbl index 357e1a9f3e..a5a53991ca 100644 --- a/collects/scribblings/tools/rep.scrbl +++ b/collects/scribblings/tools/rep.scrbl @@ -15,7 +15,7 @@ class affect the implementation that uses it. -@defconstructor/make[([context (implements @scheme[drscheme:rep:context<%>])])]{ +@defconstructor/make[([context (implements drscheme:rep:context<%>)])]{ } @defmethod[#:mode override @@ -155,7 +155,7 @@ for more information about parameters. } -@defmethod[(highlight-errors [locs (listof (list (instance (implements @scheme[text:basic<%>])) small-integer small-integer))]) +@defmethod[(highlight-errors [locs (listof (list (instance (implements text:basic<%>)) small-integer small-integer))]) void?]{ Call this method to highlight errors associated with this repl. See also @@ -382,7 +382,7 @@ See also } -@defmethod[(ensure-rep-shown [rep (is-a?/c @scheme[drscheme:rep:text<%>])]) +@defmethod[(ensure-rep-shown [rep (is-a?/c drscheme:rep:text<%>)]) void?]{ This method is called to force the rep window to be visible when, for diff --git a/collects/scribblings/tools/unit.scrbl b/collects/scribblings/tools/unit.scrbl index d0b0bd5bbf..7188b0f139 100644 --- a/collects/scribblings/tools/unit.scrbl +++ b/collects/scribblings/tools/unit.scrbl @@ -43,7 +43,7 @@ Enables the Run button, and the Run menu item and unlocks (values (or/c thread? false/c) (or/c custodian? false/c))]{} @defmethod[(get-defs) - (is-a?/c @scheme[drscheme:unit:definitions-text<%>])]{ + (is-a?/c drscheme:unit:definitions-text<%>)]{ This text is initially the top half of the drscheme window and contains the users program. @@ -73,13 +73,13 @@ is already running (in another thread). } @defmethod[(get-frame) - (is-a?/c @scheme[drscheme:unit:frame%])]{ + (is-a?/c drscheme:unit:frame%)]{ Returns the frame that this tab is inside. } @defmethod[(get-ints) - (is-a?/c @scheme[drscheme:rep:text%])]{ + (is-a?/c drscheme:rep:text%)]{ This text is initially the bottom half of the drscheme window and contains the users interactions with the REPL. @@ -216,7 +216,7 @@ Passes all arguments to @scheme[super-init]. } @defmethod[#:mode override - (add-show-menu-items [show-menu (is-a?/c @scheme[menu%])]) + (add-show-menu-items [show-menu (is-a?/c menu%)]) void?]{ Adds the ``Show Definitions'', ``Show Interactions'' and @@ -570,7 +570,7 @@ Shows the interactions window } @defmethod[(get-current-tab) - (is-a?/c @scheme[drscheme:unit:tab<%>])]{ + (is-a?/c drscheme:unit:tab<%>)]{ Returns the currently active tab. } @@ -607,7 +607,7 @@ Returns the Insert menu. }} @defmethod[(get-interactions-canvas) - (instanceof (derivedfrom @scheme[drscheme:unit:interactions-canvas%]))]{ + (instanceof (derivedfrom drscheme:unit:interactions-canvas%))]{ This canvas is the canvas containing the @method[drscheme:unit:frame<%> get-interactions-text]. It is initially the bottom half of the drscheme window. @@ -621,7 +621,7 @@ it will use the extended class to create the canvas. } @defmethod[(get-interactions-text) - (instanceof (derivedfrom @scheme[drscheme:rep:text%]))]{ + (instanceof (derivedfrom drscheme:rep:text%))]{ Calls result of @method[drscheme:unit:frame<%> get-current-tab]'s @@ -631,7 +631,7 @@ Calls result of } @defmethod[(get-tabs) - (listof @scheme[drscheme:unit:tab<%>])]{ + (listof drscheme:unit:tab<%>)]{ Returns the list of tabs in this frame. } @@ -656,7 +656,7 @@ The @scheme[from-tab] argument is the previously selected tab, and the }} @defmethod[(register-capability-menu-item [key symbol] - [menu (is-a? @scheme[menu%])]) + [menu (is-a? menu%)]) void?]{ Registers the menu item that was most recently added as being controlled by the capability @scheme[key]. This means @@ -773,7 +773,7 @@ the editor should be used.) } @defmethod[(get-tab) - (instanceof @scheme[drscheme:unit:tab%])]{ + (instanceof drscheme:unit:tab%)]{ Returns the editor's enclosing tab. } @@ -807,7 +807,7 @@ an interaction (unless the Runs first). }} @defmethod[(set-next-settings [language-settings language-settings] - [update-prefs? any/c @scheme[#t]]) + [update-prefs? any/c #t]) void?]{ Changes the language settings for this window. If