[plt-scheme] syntax coloring, #lang, Scribble

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Jul 28 18:20:47 EDT 2009

At Tue, 28 Jul 2009 15:57:23 -0600, Neil Toronto wrote:
> Matthew Flatt wrote:
> > The Scribble languages `scribble/base', `scribble/manual', etc. specify
> > a syntax colorer that handles @ notation and that starts the body in
> > "text" mode. The `at-exp' language constructor similarly specifies a
> > colorer that adds support for `@' notation to the Scheme colorer.
> 
> Awesome. Is language-specific indentation coming soon?

Indentation is based on coloring, so it's already there to some degree,
and I've improved Scribble coloring so that it indents better.

For example, if you re-indent the second line of

  @{A
  B}

you now get

  @{A
    B}



Posted on the users mailing list.