<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="4">I meant, TextModel, not TextEditor.</font></p>
    <p><font size="4">You have three objects:</font></p>
    <p><font size="4">SystemWindow: to present the view</font></p>
    <p><font size="4">TextEditor: to represent the the functionality of
        a text editor</font></p>
    <p><font size="4">TextModel: to hold the text</font></p>
    <p><font size="4">Then  there is also TextModelMorph...</font></p>
    <p><font size="4">I find the whole Text model in Cuis very difficult
        to understand. I suspect it is the result of a legacy code from
        the '70 with multiple partial refactorings ending with code not
        well designed, but it works. It is very far from any MVC/MVP
        pattern, the responsibilities between the involved objects are
        interlaced making hard to understand the logic. </font></p>
    <p><font size="4">I will never pick this as a topic for a learner.
        You have only scratched the surface. Take another topic, no need
        to constantly hit the head on the same wall.</font></p>
    <p><font size="4">Hilaire</font></p>
    <div class="moz-cite-prefix">Le 01/03/2026 à 22:19, Hilaire
      Fernandes a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:ed4fafb5-fb93-449c-a0d1-5f6805acc93a@free.fr">
      <p><font size="4">What's wrong executing 'TextEditor open' in a
          Workspace ?</font></p>
      <p><font size="4">Then inspect the window, its model is the
          <b> TextEditor</b>.</font></p>
      <p><font size="4">But I think you are taking the wrong learning
          path with your grandchild.</font></p>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://gnu.org/s/dr-geo/">http://gnu.org/s/dr-geo/</a>
<a class="moz-txt-link-freetext" href="http://gnu-drgeo.blogspot.com/">http://gnu-drgeo.blogspot.com/</a></pre>
  </body>
</html>