[racket] scratching an itch: how do I customize which words get colored as keywords in DrRacket?

From: Laurent (laurent.orseau at gmail.com)
Date: Thu Jun 13 08:44:22 EDT 2013

On Sat, Jun 8, 2013 at 9:50 PM, Christopher <ultimatemacfanatic at gmail.com>wrote:

> On Jun 8, 2013, at 1:31 PM, Robby Findler <robby at eecs.northwestern.edu>
> wrote:
>
> It is the ones that it has special indentation rules for. Not super
> heplful to you here, I know.
>
>
> That sounds like this won't be super easy, but it's a start!  Thank you
> Robby.
>
> Who knows how to add indentation rules to DrRacket?  Where are they found?
>  Is their modification something that can be attempted by a long-time
> programmer, but Racket novice?  If I can add an indentation rule for "if"
> that just duplicates the current default behavior, then hopefully, it would
> highlight my ifs!
>

The keywords that are colored are the same as those in
Edit/Preferences.../Edition/Indentation.
You can add `if' to one of these 3 columns (not sure which one it is
supposed to belong to though, maybe Begin).
Then it will be colored.

Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130613/d21554f3/attachment-0001.html>

Posted on the users mailing list.