[plt-scheme] Changing a snip's style

Matthew Flatt mflatt at cs.utah.edu
Tue Jun 10 08:31:55 EDT 2008


At Tue, 10 Jun 2008 00:16:57 -0400 (EDT), Danny Yoo wrote:
> I just wanted to make sure I'm understanding the snip style system.  As I 
> understand it now, snips really don't get to control their own styles: 
> they're really at the mercy of whatever editor they're embedded in.

That's correct.

A snip gets to draw itself, and in doing so it can ignore the style
that an editor gives the snip. So, the style is intended as a request
from the enclosing editor, and that's why the editor is in control of a
snip's style.

Matthew




More information about the plt-scheme mailing list