[racket] White-on-black: how to change the green background when mouse is over an identifier?

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Wed Dec 4 10:42:10 EST 2013

(sorry -- I'm on a bus and we hit a bump and apparently my mail client has
a keybinding that sends email and I hit it ... I guess)

Anyway, I wanted to write that you probably also want to replace the
definition of get-untacked-brush with this one, in that same file.

After doing that, you may need to run "raco setup -Dxi" to recompile the
DrRacket sources (let us know if you run into trouble with this step).

(define (get-untacked-brush white-on-black?)
      (send the-brush-list find-or-create-brush
            (if white-on-black? "black" "white")
            'solid))

Also, I ended up going with "DarkGreen", not "OliveDrab".

Robby


On Wed, Dec 4, 2013 at 9:39 AM, Robby Findler
<robby at eecs.northwestern.edu>wrote:

> Oh, and while you've got that file open,
>
>
> On Wed, Dec 4, 2013 at 9:18 AM, Robby Findler <robby at eecs.northwestern.edu
> > wrote:
>
>> I'll do something better in git, but in case you're using 5.3.6, open up
>> the file gui.rkt (in collects/drracket/private/syncheck) and search
>> for GreenYellow. Change the string to something else here:
>>
>>
>> http://docs.racket-lang.org/draw/color-database___.html?q=color-database%3C%25%3E
>>
>> maybe "OliveDrab".
>>
>> hth,
>> Robby
>>
>>
>>
>> On Wed, Dec 4, 2013 at 6:01 AM, Didier Pieroux <didier.pieroux at gmail.com>
>> wrote:
>> >
>> > Dear all,
>> >
>> > I started to use DrRacket about one week ago. Everything is very nice
>> up to now, excepted for an  annoying small issue related to colour
>> configuration.
>> >
>> > I am using an inverted colour scheme: I am writing in white on dark
>> blue. I was able to set all colours excepted one: the background colour of
>> the ellipses that appear when the mouse is above an identifier. By default
>> it is light-green, and this renders the white text above it unreadable.
>> >
>> > I also looked into the configuration file, but couldn't find anything.
>> And selecting "white on black" in the colour tab doesn't help as that
>> light-green colour is kept unchanged.
>> >
>> > Can someone tell me how to change that colour?
>> >
>> > Thanks,
>> > D. Pieroux
>> >
>> > PS: attached a small picture showing the problem.
>> >
>> > ____________________
>> >   Racket Users list:
>> >   http://lists.racket-lang.org/users
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131204/b8f94289/attachment.html>

Posted on the users mailing list.