[plt-scheme] MrEd question about text% resizing

From: Robert Bruce Findler (robby at cs.uchicago.edu)
Date: Sat Sep 7 13:06:18 EDT 2002

At Sat, 7 Sep 2002 11:00:50 -0600 (MDT), Matthew Flatt wrote:
> When you figure out which editor needs to be resized (i.e., it's min-
> and max-width needs to be adjusted), finding the right size is tricky.
> I'm certain that it's possible, though. Robby may be able to point you
> to an example in the DrScheme implementation.

Indeed. I'm not sure what the context is, but one example: when you
resize the drscheme frame, the boxes containing purple text (what went
to stdout) need to resize. That code is in the wide-snip-mixin in
plt/collects/framework/private/canvas.ss. Let me know of you have any

At some point in the future, we should have a horizontal-pasteboard%
and vertical-pasteboard% classes that operate like the
horizontal-panel% and vertical-panel%, but manage editors. That might
also be of interest too.


Posted on the users mailing list.