-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
base: master
Are you sure you want to change the base?
Conversation
@rfindler This avoids the "two syntax-check buttons" problem. |
This also makes racket/drracket#592 obsolete. |
htdp-lib/htdp/bsl/reader.rkt
Outdated
@@ -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: |
There was a problem hiding this comment.
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.
?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rfindler Done.
cc1c906
to
8557b65
Compare
Fixes #177.