Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Debug button to #lang htdp/asl. #222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikesperber
Copy link
Member

Fixes #177.

@mikesperber
Copy link
Member Author

@rfindler This avoids the "two syntax-check buttons" problem.

@mikesperber
Copy link
Member Author

This also makes racket/drracket#592 obsolete.

@@ -26,15 +26,18 @@
(define ((make-info options) key default use-default)
(case key
[(drscheme:toolbar-buttons)
;; If you want to add more buttons, don't do it this way:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should write something like:

;; if you want to add more buttons, do it this way only 
;; if they aren't already built and can just be enabled.

?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had trouble parsing this comment; I think you mean
"aren't already (built and can just be enabled)", but I initially read it as "(aren't already built) and (can just be enabled)"... which doesn't really make sense, but maybe something like "aren't already built and enable-able" would be less misunderstandable. Oog.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How's this:

;; if you want to add more buttons, the strategy used here might not
;; be the right one to use. If you can simply enable existing buttons,
;; do that instead.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rfindler Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No debug toolbar button for #lang htdp/asl
3 participants