Hi, Racket Discourse.
I found a bug in the code for the append-editor-font-menu-items
procedure from racket/gui
. The functionality for making fonts smaller by one size is missing a negative sign.
Compare the increment,
(add-change-size bigger
'("+1" "+2" "+4" "+8" "+16" "+32")
'(1 2 4 8 16 32)
'(1 1 1 1 1 1))
as opposed to the decrement.
(add-change-size smaller
'("-1" "-2" "-4" "-8" "-16" "-32")
'(1 -2 -4 -8 -16 -32)
'(1 1 1 1 1 1))
I found these snippets in the gui/gui-lib/mred/private/editor.rkt
file in here.
What is the etiquette for such a situation? I've never reported/fixed a bug before.