[Newbies] [squeak-dev] ColorTranscript howto fake/implement?

Marcel Taeumel marcel.taeumel at hpi.de
Thu May 16 08:14:12 UTC 2019

Hi Lawson,

please find attached a changeset that adds text support to TranscriptStream. You have to replace your transcript with "Transcript := TranscriptStream new".

Am 15.05.2019 20:35:00 schrieb LawsonEnglish <lenglish5 at cox.net>:
I’m trying to implement something along the lines of:

ColorTranscript show: ‘text’ withColor: Color red; show: ‘more text’ withColor: Color blue.

All stream classes seem to strip out text attribute information except AttributedTextStream which seems rather incomplete.

I was thinking that I could analyze how the color menu that is accessed via cmd-6 (on the mac) is able to colorize a selection even in a transcript window and so implement the functionality by faking the UI’s steps, but I can’t figure out how to debug the interface and trace though a menu call to see what it actually does.

Any suggestions?

on how to trace the steps to colorize a word via the menu OR on how to implement the functionality directly…

Either/both would be appreciated,



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20190516/e386fd4d/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: color-transcript.1.cs
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20190516/e386fd4d/attachment.ksh>

More information about the Beginners mailing list