a little more in the tools manual
svn: r7857
This commit is contained in:
parent
d42b8a68df
commit
eb97d15ced
|
@ -7,3 +7,5 @@
|
||||||
@title{PLT DrScheme: Programming Environment Manual}
|
@title{PLT DrScheme: Programming Environment Manual}
|
||||||
|
|
||||||
Nothing yet.
|
Nothing yet.
|
||||||
|
|
||||||
|
@index-section["drscheme"]
|
||||||
|
|
|
@ -10,8 +10,6 @@
|
||||||
|
|
||||||
(define (item/cap x . ys) (apply item (bold (format "~a" x)) ": " ys)) ;; indexing missing
|
(define (item/cap x . ys) (apply item (bold (format "~a" x)) ": " ys)) ;; indexing missing
|
||||||
|
|
||||||
(define (gui x) (bold x))
|
|
||||||
|
|
||||||
]
|
]
|
||||||
@title{PLT Plugins: DrScheme Extension Manual}
|
@title{PLT Plugins: DrScheme Extension Manual}
|
||||||
|
|
||||||
|
@ -433,20 +431,20 @@ evaluate arbitrary code that the user wrote, tools that
|
||||||
expand the user's program should also allow the user to break
|
expand the user's program should also allow the user to break
|
||||||
the expansion. To help with this, the tools interfaces
|
the expansion. To help with this, the tools interfaces
|
||||||
provides these methods:
|
provides these methods:
|
||||||
\iscmintfmethodspec{drscheme:rep:context}{enable-evaluation}{enable-evaluation}
|
@method[drscheme:rep:context<%> enable-evaluation]
|
||||||
and
|
and
|
||||||
\iscmintfmethodspec{drscheme:rep:context}{disable-evaluation}{disable-evaluation}.
|
@method[drscheme:rep:context<%> disable-evaluation].
|
||||||
Since your tool will be expanding the program text, you
|
Since your tool will be expanding the program text, you
|
||||||
should be both overriding
|
should be both overriding
|
||||||
\iscmintfmethodspec{drscheme:rep:context}{enable-evaluation}{enable-evaluation}
|
@method[drscheme:rep:context<%> enable-evaluation]
|
||||||
and
|
and
|
||||||
\iscmintfmethodspec{drscheme:rep:context}{disable-evaluation}{disable-evaluation}
|
@method[drscheme:rep:context<%> disable-evaluation]
|
||||||
to disable your tool and calling them
|
to disable your tool and calling them
|
||||||
to ensure that only one expansion is happening
|
to ensure that only one expansion is happening
|
||||||
at a time.
|
at a time.
|
||||||
|
|
||||||
Finally, DrScheme provides the
|
Finally, DrScheme provides the
|
||||||
\iscmintfmethodspec{drscheme:rep:context}{set-breakables}{set-breakables},
|
@method[drscheme:rep:context<%> set-breakables]
|
||||||
method. This method controls what behavior the Break button
|
method. This method controls what behavior the Break button
|
||||||
has.
|
has.
|
||||||
|
|
||||||
|
@ -457,7 +455,7 @@ has.
|
||||||
DrScheme provides support for multiple editor modes. Tools
|
DrScheme provides support for multiple editor modes. Tools
|
||||||
register modes via
|
register modes via
|
||||||
@scheme[drscheme:modes:add-mode]. Each mode is
|
@scheme[drscheme:modes:add-mode]. Each mode is
|
||||||
visible in the @gui{Modes} submenu of the @gui{Edit}
|
visible in the @onscreen{Modes} submenu of the @onscreen{Edit}
|
||||||
menu. Initially, DrScheme only supports two modes: scheme
|
menu. Initially, DrScheme only supports two modes: scheme
|
||||||
mode and text mode.
|
mode and text mode.
|
||||||
|
|
||||||
|
@ -474,10 +472,11 @@ tool does not apply to the language. Tools register
|
||||||
capabilities keyed with symbols via.
|
capabilities keyed with symbols via.
|
||||||
@scheme[drscheme:language:register-capability]. Once
|
@scheme[drscheme:language:register-capability]. Once
|
||||||
registered, a tool can query a language, via the
|
registered, a tool can query a language, via the
|
||||||
\iscmintfmethodspec{drscheme:language:language}{capability-value}{capability-value}
|
@method[drscheme:language:language<%> capability-value]
|
||||||
method. The result from this method controls whether or not
|
method. The result from this method controls whether or not
|
||||||
the tool shows this part of the GUI for DrScheme.
|
the tool shows this part of the GUI for DrScheme.
|
||||||
|
|
||||||
See @scheme[drscheme:language:register-capability]
|
See @scheme[drscheme:language:register-capability]
|
||||||
for a list of the capabilities registered by default.
|
for a list of the capabilities registered by default.
|
||||||
|
|
||||||
|
@index-section["tools"]
|
||||||
|
|
|
@ -7,3 +7,5 @@
|
||||||
@title{PLT Framework: GUI Application Framework}
|
@title{PLT Framework: GUI Application Framework}
|
||||||
|
|
||||||
Nothing yet.
|
Nothing yet.
|
||||||
|
|
||||||
|
@index-section["framework"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user