[racket-dev] Redex bg color

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Aug 31 08:33:35 EDT 2010

Thanks. That's been fixed in git. Here's the diff if you don't follow
the nightly builds (after applying it, run "raco setup").

diff --git a/collects/redex/private/stepper.rkt
b/collects/redex/private/stepper.rkt
index 4338eb2..1775d6b 100644
--- a/collects/redex/private/stepper.rkt
+++ b/collects/redex/private/stepper.rkt
@@ -705,7 +705,7 @@ todo:


   (define forward-size-editor-canvas%
-    (class canvas:color%
+    (class canvas:basic%
       (inherit get-editor)
       (define/override (on-size w h)
         (send (get-editor) update-heights))

Robby

On Mon, Aug 30, 2010 at 10:59 AM, Everett <webj2 at unoc.net> wrote:
> If I use DrRacket in "White on Black" mode, Redex's stepper window
> copies the background color preference but not the foreground color, so
> I get black on black and can't use it.  Would it be easy enough to just
> ignore the DrRacket background preference and keep the stepper window
> white? (Easier than trying to make the foreground color change?)
>
> Thanks,
> -Everett
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>


Posted on the dev mailing list.