[Newbies] ColorTranscript howto fake/implement?

LawsonEnglish LEnglish5 at cox.net
Wed May 15 18:34:41 UTC 2019

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, 



More information about the Beginners mailing list