8 Check Syntax

▼ |  | Plugins: Extending Dr Racket

1 | Implementing Dr Racket Tools
2 | Adding Languages to Dr Racket
3 | Creating New Kinds of Dr Racket Frames
4 | Extending the Existing Dr Racket Classes
5 | Expanding the User’s Program Text and Breaking
6 | Editor Modes
7 | Language-specific capabilities
8 | Check Syntax
9 | drracket: get/ extend
10 | drracket: unit
11 | drracket: language
12 | drracket: language-configuration
13 | drracket: debug
14 | drracket: rep
15 | drracket: frame
16 | drracket: help-desk
17 | drracket: eval
18 | drracket: modes
19 | drracket: module-language-tools
20 | drracket: module-language
21 | Backwards compatibility
| Index

On this page:

syncheck-drracket-button
syncheck: button-callback
syncheck-bitmap

top← prev up next →

### 8`` Check Syntax

Check Syntax is a part of the DrRacket collection, but is implemented via the tools API.

( require drracket/syncheck-drracket-button)

syncheck-drracket-button

:

( list/c
string?
( is-a?/c bitmap%)
(-> ( is-a?/c
top-level-window<%>)
any))

This is meant to be used with the 'drscheme:toolbar-buttons argument to the info proc returned from read-language.

syncheck:button-callback

This is defined with define-local-member-name and is bound to a method of no arguments of the DrRacket frame that runs Check Syntax.

syncheck-bitmap : ( is-a?/c bitmap%)

The bitmap in the Check Syntax button on the DrRacket frame.
top← prev up next →