[Cuis-dev] the demo challenge in Smalltalk
Robert Chifflet
grshiplett at gmail.com
Mon Mar 2 09:55:54 PST 2026
Wrong.
The handles give
inspect model
and that object is a TextModel
Really we mean
TextEditor halt; open.
open
^ SystemWindow editText: TextModel new label: 'Text Editor' wrap: true
and that leads to
editText: aTextModel label: labelString wrap: aBoolean
| window |
window := self new model: aTextModel.
...
The model is not the TextEditor
The demo via code is a failure.
The demo via GUI is a failure.
I will have to fake this to do the demo from the UI.
Try it with a young pupil, that is my invitation.
They may state the obvious: But the TextEditor is not the model.
You see my issue ?
thanks for DrGeo. Your own work is amazing.
My task is merely frustrating.
robert
On Sun, 1 Mar 2026 at 17:20, Hilaire Fernandes via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> What's wrong executing 'TextEditor open' in a Workspace ?
>
> Then inspect the window, its model is the TextEditor.
>
> But I think you are taking the wrong learning path with your grandchild.
>
> --
> GNU Dr. Geohttp://gnu.org/s/dr-geo/http://gnu-drgeo.blogspot.com/
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260302/7b5b8c01/attachment.htm>
More information about the Cuis-dev
mailing list