[Newbies] [squeak-dev] ColorTranscript howto fake/implement?
Nicola Mingotti
nmingotti at gmail.com
Fri Jul 26 14:25:09 UTC 2019
Hi Christian,
ok, I guess see the point.
thanks
bye
Nicola
> On Jul 26, 2019, at 9:39 AM, Christian Kellermann <ckeen at pestilenz.org> wrote:
>
> Hi Nicola!
>
> * Nicola Mingotti <nmingotti at gmail.com> [190725 23:37]:
>>
>>
>> Hi,
>>
>> I was passing by, and tried :
>>
>> ----
>> text := Text string: 'text example ' attribute: (TextColor color: Color
>> red).
>> Transcript show: text;cr.
>
> If you browse the TranscriptStream's show: procedure you'll see
> that it will send asString to the object you hand in, so in you
> case the attributes of the Text get ignored as asString on Text
> will just return the content's string.
>
> So out of the box a colorized Transcript isn't possible.
>
> Kind regards,
>
> Christian
>
> --
> May you be peaceful, may you live in safety, may you be free from
> suffering, and may you live with ease.
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
More information about the Beginners
mailing list