JFYI, I have added a function for wrapping text, since it's easy to do a bad job with it but hard to do it properly, and it was already implemented in three places (which I converted). Please tell me if there are othr places that implement it, or if you need it for something.
> 89b9ad0 Eli Barzilay <e...@racket-lang.org> 2012-05-06 04:36 > : > | New `wrap-line' function in a new `scribble/text/wrap' module. > | > | This should probably become documented if it's stable enough. For now > | it's intended for building wrapping functions, so it's only documented > | in comments the file. > : > A collects/scribble/text/wrap.rkt > M collects/tests/scribble/main.rkt | 4 +++- > A collects/tests/scribble/text-wrap.rkt -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _________________________ Racket Developers list: http://lists.racket-lang.org/dev