<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">Le 28/12/2022 à 21:08, Hernán Wilkinson
via Cuis-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAGgF3GwL0ncts1dq6=sfEGqNd+VitHXyYTk9rf6_h38kTX1ncg@mail.gmail.com">
<div>I do not understand why I do not get the same result:</div>
<img src="cid:part1.XrxrMEe0.jUaIhjoW@free.fr" alt="image.png"
shrinktofit="true" class="" width="383" height="472"><br>
</blockquote>
<p>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.<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CAGgF3GwL0ncts1dq6=sfEGqNd+VitHXyYTk9rf6_h38kTX1ncg@mail.gmail.com">
<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>
<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>
<blockquote type="cite"
cite="mid:CAGgF3GwL0ncts1dq6=sfEGqNd+VitHXyYTk9rf6_h38kTX1ncg@mail.gmail.com">
<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>
<p>Thanks<br>
</p>
--
<pre class="moz-signature" cols="72">GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>