[Cuis-dev] Multiple text model morph over the same model
Hilaire Fernandes
hfern at free.fr
Sat Mar 22 04:03:38 PDT 2025
In this demo,
With one model, *three text model morph*s sync to the same model, but
*with two passives* (setters set to nil), I have this message 'Caution!
Contents were saved elsewhere....' warning message, which does not make
sense in this circumstance.
The setters of the model is completely passive and the button action is:
handleButtonClick
textModel scroller acceptContents.
self changed: #text
To get the change propagated to all the views.
The addition of the message #askBeforeDiscardingEdits: to the active
text model does not work. Only the model notifying #clearUserEdits seems
to work.
Idea? Opinion?
Thanks
--
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250322/c993528e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KW2qBh9wNaP50kUi.png
Type: image/png
Size: 182046 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250322/c993528e/attachment-0001.png>
More information about the Cuis-dev
mailing list