DrRacket, alas, doesn't do this (yet). There are modes and you can add new ones via a tool and attach them to file extensions but it doesnt work via language properties yet.
Robby On Tuesday, July 5, 2011, Danny Yoo <[email protected]> wrote: > I've been looking at: > > http://docs.racket-lang.org/guide/language-get-info.html > > which explains how to create languages that cooperate with the > DrRacket editor; in particular, it shows how to do colored tokens by > defining a 'color-lexer. > > > But I'd like to customize the indenter as well. Let's say that I'm > happily hacking in brainf*ck, and I want to be able to press tab and > have it indent by four spaces, regardless of the textual context. At > the moment, DrRacket continues to use Racket indentation rules, which > are inappropriate for brainf*ck. But I don't know how to teach > DrRacket this. > > > I haven't found examples of #lang languages that do this. Am I > missing something? > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users > _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

