[Cuis-dev] Help req. I don't get how to make a good use of the Transcript

Juan Vuletich JuanVuletich at zoho.com
Fri Dec 3 10:11:07 PST 2021


Hi Nicola,

On 12/3/2021 2:09 PM, Nicola Mingotti via Cuis-dev wrote:
> Hi guys,
>
> I am not able to do these things, I don't understand if they are not 
> there because you don't like them
> or because they are just still to be implemented. If the last holds 
> true I will put these features in my
> TODO list of desiderata.
>
> 1. Newline does not work, example
> --------------
> Transcript show: 'hello
> world'.
> => shows hello and world on a single line
> --------------

Fixed. Find the update at GitHub.

> 2. No Wrapping. strings extends infinitely on the right.
>
> 3. No possibility of copying text
>
> 4. No vertical scrolling

Right.

> My question are:
> a) Is there a way (a Preference) to enable features 1,2,3,4 ?

No. Just fixed 1. For 2, 3, 4 try Right Click / Workspace with contents.

> b) Is any of you using the Trascript ? I don't understand at all how 
> you can survive
> these limitations.
>
> Please enlighten me :)
>
> bye
> Nicola

The reason Transcript is "special" is because it doesn't use Morphic. 
Evaluate this:
1 to: 10 do: [ :i | i print. (Delay forSeconds: 0.2) wait ]
See how the Transcript shows the updates while the code runs, even 
though it is running in the UI process and Morphic is frozen. Note that 
if you have  the TranscriptContents wokspace, its contents only update 
when the script finishes and Morphic runs again.

This low level Transcript is extremely useful for debugging.

Hope this helps.

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211203/8da12a3b/attachment.htm>


More information about the Cuis-dev mailing list