<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><p><br>Strangely removing the empty line give the expected completion
      (segment:to:) because with the spanish locale the completion is
      done on the moth class DrGeoSketch (DrGeoFigure for French)<br>
    </p>
    <p>That's odd.</p></div></blockquote><div>The problem is in the SHParserST80 that does not parse the code, with and without the line, the same way, I do not know why.</div><div>If you look at allRanges after executing in #computeEntries the following line:</div><div><br></div><div>allRanges := self parse: source in: contextClass and: specificModel.</div><div><br></div><div>you will see different results, that is why.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><p>
    </p>
    <blockquote type="cite">
      <div> </div>
      <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
        <div bgcolor="#FFFFFF">
          <p>From my eyes, so far I have the same behavior in the
            DrGSmalltalkSketchEditor and the Workspace.</p>
        </div>
      </blockquote>
      <div>It is not exactly the same. If the snapshot you sent the
        selectors it shows for the variable t are the ones of
        DrGeoSketch, in the workspace it would show you the selectors of
        SmallInteger <br>
      </div>
    </blockquote>
    <p>But it is when you have undeclared variable, whose state is
      preserved after execution of the code, right?</p></div></blockquote><div>right </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
    <p>With DrGeo Smalltalk sketch, the code comes with all variables
      declared, the resulting sketch is not mean to modified afterward
      with code. But it could change may be.</p></div></blockquote><div>ah ok.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><p> </p>
    <blockquote type="cite">
      <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
        <div bgcolor="#FFFFFF">
          <blockquote type="cite">
            <div> To make DrGSmalltalkSketchEditor you should implement
              the message #is: like this:</div>
            <div>is: aSymbol<br>
              aSymbol == #providesBindings or: [ super is: aSymbol ]<br>
            </div>
            <div><br>
            </div>
            <div> And then implement the messages it is expecting for an
              object that provides bindings like #hasBindingOf:, etc.</div>
            <div> I would make the model of DrGSmalltalkSketchEditor to
              be an instance of Workspace, that way the code completion
              will behave as in the workspace that is what you are
              trying to accomplish.</div>
          </blockquote>
          <p>I don't understand what is a binding, not sure it is needed
            either.<br>
          </p>
        </div>
      </blockquote>
      <div>A binding is like a relationship, it relates the name of a
        variable with its value...<br>
      </div>
    </blockquote>
    <p>Is it when you are not declaring the variables in the Workspace?</p></div></blockquote><div>right, when not declaring a variable, the workspace declares it automatically and keeps its value.</div><div>You can disable that in the workspace unselecting the option "automatically create variable declaration"</div><img src="cid:ii_lc8dazot1" alt="image.png" width="472" height="406"><br><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
    <p>Thanks<br>
    </p>
    --
    <pre cols="72">GNU Dr. Geo
<a href="http://drgeo.eu" target="_blank">http://drgeo.eu</a>
<a href="http://blog.drgeo.eu" target="_blank">http://blog.drgeo.eu</a></pre>
  </div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:small"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal"><span style="font-weight:bold">Hernán Wilkinson</span><br>Agile Software Development, Teaching & Coaching</span></font></span></span></strong></span></div><div style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">Phone: +54-011</span></font></span></span></strong></span><font face="tahoma, sans-serif" size="2">-4893-2057</font></div><div style="font-size:12.8px"><strong style="font-family:tahoma,sans-serif;font-size:xx-small"><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">Twitter: @HernanWilkinson</span></font></span></span></strong></div><div style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">site: <a href="http://www.10pines.com/" style="color:rgb(17,65,112)" target="_blank">http://www.10Pines.com</a></span></font></span></span></strong></span></div><div style="font-size:12.8px"><font face="tahoma, sans-serif"><span style="border-collapse:collapse">Address: Alem 896</span></font>, Floor 6, Buenos Aires, Argentina</div></div></div></div></div></div></div></div></div>