Discussion:
[racket] scribble indentation in drracket
Jon Zeppieri
2015-02-22 02:54:53 UTC
Permalink
Is there some secret to this, or does no one write scribble in drracket?
____________________
Racket Users list:
http://lists.racket-lang.org/users
Robby Findler
2015-02-22 03:06:32 UTC
Permalink
I write lots and, sadly, manually indent everything.

There is a start on this but there are still some problems to be
ironed out. You can find the code here:

https://github.com/racket/gui/blob/master/gui-lib/scribble/private/indentation.rkt

It shows up in DrRacket when you type esc;q (where it reindents the
paragraph). In other words, it makes some decisions about linebreaking
and then does indentation. It is not wired in yet for actual
indentation.

Also, I don't know why it says that Sam is the only contributor there:
the code was actually written by Lei Wang.

Robby
Post by Jon Zeppieri
Is there some secret to this, or does no one write scribble in drracket?
____________________
http://lists.racket-lang.org/users
____________________
Racket Users list:
http://lists.racket-lang.org/users
Sam Tobin-Hochstadt
2015-02-22 03:40:21 UTC
Permalink
The list of contributors is an unfortunate GitHub issue -- if a file is
moved, commits from before the move aren't used to compute that list. If
you click on blame on the page, it'll show the expected authorship.

Sam
Post by Robby Findler
I write lots and, sadly, manually indent everything.
There is a start on this but there are still some problems to be
https://github.com/racket/gui/blob/master/gui-lib/scribble/
private/indentation.rkt
It shows up in DrRacket when you type esc;q (where it reindents the
paragraph). In other words, it makes some decisions about linebreaking
and then does indentation. It is not wired in yet for actual
indentation.
the code was actually written by Lei Wang.
Robby
Post by Jon Zeppieri
Is there some secret to this, or does no one write scribble in drracket?
____________________
http://lists.racket-lang.org/users
____________________
http://lists.racket-lang.org/users
Loading...