<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Hernán,<br>
</p>
<div class="moz-cite-prefix">Le 28/12/2022 à 14:33, Hernán Wilkinson
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAGgF3Gw15nJy+cU8ApL9zkEkkuWBEpxUe=vqz3c8vd6KMub86w@mail.gmail.com">
<div> I tried this example in a DrGeo image and it works as I
mentioned, but I see why the code completion is not working as
you expected.</div>
<div> The class DrGSmalltalkSketchEditor does not behave as a
workspace, therefore when parsing the code, it is expecting the
method name pattern that it does not have. If you put a halt in
the method #computeMessageEntriesIn:ofTempVarNamed: of that
class, you will see that it never halts.</div>
</blockquote>
<p>Observe that this method is executed when completion is done over
a variable. The completion is narrowed to the class I want.<br>
</p>
<img moz-do-not-send="false"
src="cid:part1.O6Gj3Zd0.jyTywQHM@free.fr" alt="completion on
variable" width="185" height="281">
<p>From my eyes, so far I have the same behavior in the
DrGSmalltalkSketchEditor and the Workspace.</p>
<blockquote type="cite"
cite="mid:CAGgF3Gw15nJy+cU8ApL9zkEkkuWBEpxUe=vqz3c8vd6KMub86w@mail.gmail.com">
<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>
<p>Thanks</p>
<p>Hilaire<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>