[plt-scheme] How to change colors in an editor object

From: John Clements (clements at brinckerhoff.org)
Date: Mon May 19 16:09:28 EDT 2003

On Monday, May 19, 2003, at 03:59  PM, Daniel Egger wrote:

>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> Hello!
> In school we had to make a metacircular evaluator. It works fine so 
> far but
> I'd like to enhance it a little bit.
> We have created an editor-obeject to make some user-interactions. It 
> prints
> text in this way: (send TranscriptEditor insert "text"). Now I'd like 
> to
> change the color of the text, i.e. for an error output that should be 
> red. Is
> this possible? And if yes how?
> I've read something about a change-style method wich speaks about 
> changing
> the text color in an editor-object but this option isn't really 
> documented
> unfortunetaly.

Not documented?  Go to help desk, search for 'change-style', click on 
the entry that reads

(send a-text change-style delta start end counts-as-mod?) in 

Perhaps you're not aware of DrScheme's Help Desk?


Posted on the users mailing list.