Fixed typos in Plugin docs:

Many contracts had redundant @scheme[...] around them,
which rendered as (scheme ...) in the final product.

svn: r12546
This commit is contained in:
Carl Eastlund 2008-11-20 21:15:21 +00:00
parent accd20a8ed
commit f0b72082eb
4 changed files with 18 additions and 18 deletions

View File

@ -60,7 +60,7 @@ if the
} }
@defmethod[#:mode override @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?]{ void?]{
Adds an ``Install .plt File...'' menu item, which Adds an ``Install .plt File...'' menu item, which
@ -72,7 +72,7 @@ method.
} }
@defmethod[#:mode override @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?]{ void?]{
Calls the super method. Then, creates a menu item for 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?]{ void?]{
@methspec{ @methspec{

View File

@ -415,7 +415,7 @@ for this language.
} }
@defmethod[(get-transformer-module) @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 This method specifies the module that defines the
transformation language. It is used to initialize transformation language. It is used to initialize
the transformer portion of the user's namespace. the transformer portion of the user's namespace.

View File

@ -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 @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?]{ void?]{
Call this method to highlight errors associated with this repl. Call this method to highlight errors associated with this repl.
See also 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?]{ void?]{
This method is called to force the rep window to be visible when, for This method is called to force the rep window to be visible when, for

View File

@ -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))]{} (values (or/c thread? false/c) (or/c custodian? false/c))]{}
@defmethod[(get-defs) @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 This text is initially the top half of the drscheme window and
contains the users program. contains the users program.
@ -73,13 +73,13 @@ is already running (in another thread).
} }
@defmethod[(get-frame) @defmethod[(get-frame)
(is-a?/c @scheme[drscheme:unit:frame%])]{ (is-a?/c drscheme:unit:frame%)]{
Returns the frame that this tab is inside. Returns the frame that this tab is inside.
} }
@defmethod[(get-ints) @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 This text is initially the bottom half of the drscheme window and
contains the users interactions with the REPL. contains the users interactions with the REPL.
@ -216,7 +216,7 @@ Passes all arguments to @scheme[super-init].
} }
@defmethod[#:mode override @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?]{ void?]{
Adds the ``Show Definitions'', ``Show Interactions'' and Adds the ``Show Definitions'', ``Show Interactions'' and
@ -570,7 +570,7 @@ Shows the interactions window
} }
@defmethod[(get-current-tab) @defmethod[(get-current-tab)
(is-a?/c @scheme[drscheme:unit:tab<%>])]{ (is-a?/c drscheme:unit:tab<%>)]{
Returns the currently active tab. Returns the currently active tab.
} }
@ -607,7 +607,7 @@ Returns the Insert menu.
}} }}
@defmethod[(get-interactions-canvas) @defmethod[(get-interactions-canvas)
(instanceof (derivedfrom @scheme[drscheme:unit:interactions-canvas%]))]{ (instanceof (derivedfrom drscheme:unit:interactions-canvas%))]{
This canvas is the canvas containing the This canvas is the canvas containing the
@method[drscheme:unit:frame<%> get-interactions-text]. It is initially the bottom half of the drscheme window. @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) @defmethod[(get-interactions-text)
(instanceof (derivedfrom @scheme[drscheme:rep:text%]))]{ (instanceof (derivedfrom drscheme:rep:text%))]{
Calls result of Calls result of
@method[drscheme:unit:frame<%> get-current-tab]'s @method[drscheme:unit:frame<%> get-current-tab]'s
@ -631,7 +631,7 @@ Calls result of
} }
@defmethod[(get-tabs) @defmethod[(get-tabs)
(listof @scheme[drscheme:unit:tab<%>])]{ (listof drscheme:unit:tab<%>)]{
Returns the list of tabs in this frame. 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] @defmethod[(register-capability-menu-item [key symbol]
[menu (is-a? @scheme[menu%])]) [menu (is-a? menu%)])
void?]{ void?]{
Registers the menu item that was most recently added as Registers the menu item that was most recently added as
being controlled by the capability @scheme[key]. This means being controlled by the capability @scheme[key]. This means
@ -773,7 +773,7 @@ the editor should be used.)
} }
@defmethod[(get-tab) @defmethod[(get-tab)
(instanceof @scheme[drscheme:unit:tab%])]{ (instanceof drscheme:unit:tab%)]{
Returns the editor's enclosing 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] @defmethod[(set-next-settings [language-settings language-settings]
[update-prefs? any/c @scheme[#t]]) [update-prefs? any/c #t])
void?]{ void?]{
Changes the language settings for this window. If Changes the language settings for this window. If