Skip to content

Commit

Permalink
Surround "custom" with brackets in the language selection dropdown
Browse files Browse the repository at this point in the history
Prior this PR, the language name in the language selection dropdown
could read "Determine language from source custom" with some
combinations of settings, which doesn't make sense.
Either "custom" should be removed entirely,
or it should be parenthesized. Here, I use brackets to make it similar
to the language name shown in the REPL pane.
  • Loading branch information
sorawee committed Mar 29, 2024
1 parent 150f105 commit f7a0297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drracket/drracket/private/unit.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -2262,7 +2262,7 @@
(drracket:language-configuration:language-settings-settings
settings))
""
(string-append " " (string-constant custom)))
(string-append " [" (string-constant custom) "]"))
" "))
(update-teachpack-menu)
(update-comment-out-menu-items)
Expand Down

0 comments on commit f7a0297

Please sign in to comment.