<br><br><div class="gmail_quote">On Mon, Sep 20, 2010 at 11:44 AM, Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
My thought was that if you&#39;ve had to select the method in order to get<br>
the menu in order to even access the &quot;copy selector&quot; function, then<br>
that means the selector is already displayed in the bottom text pane,<br>
and from there it&#39;s exactly same number of gestures to copy and paste<br>
from there as it is to select it from the menu (3 in both cases);<br>
albeit, with the arguments which maybe you don&#39;t want..??</blockquote><div><br></div><div>Exactly.  One wants just the selector, not the message pattern.  I&#39;m sick of editing out the arguments from message patterns, e.g. when I need to mention a specific method in an email.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">  Sorry, I<br>
was unclear what use-case you were referring to (&quot;paste it into<br>
message names&quot;?).<br></blockquote><div><br></div><div>The message names tool.  Try world menu-&gt;open...-&gt;message names</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Eliot, if it is perfectly useful to you to only copy the selector then<br>
I don&#39;t want to disrupt that, of course, so I will put it back..<br></blockquote><div><br></div><div>I&#39;m not saying don&#39;t put in your extension; I&#39;m sure it&#39;s useful.  I&#39;m saying don&#39;t break backwards-compatibility.  So you can either make it a preference or a different function.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
 - Chris<br>
</font><div><div></div><div class="h5"><br>
On Sun, Sep 19, 2010 at 7:14 PM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt; So if I want to copy a selector, e.g. to paste it into message names I then<br>
&gt; have to delete the lass&gt;&gt; part?  Please, can we add a &quot;copy signature&quot;<br>
&gt; instead of change the semantics of something perfectly useful?<br>
&gt; Also,isn&#39;t &quot;method reference&quot; a better name for aClass&gt;&gt;selector than<br>
&gt; signature? Signatures typically have arity, return and argument type<br>
&gt; information .  This is something a little simpler.<br>
&gt;<br>
&gt; On Sun, Sep 19, 2010 at 2:50 PM, &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Chris Muller uploaded a new version of Monticello to project The Trunk:<br>
&gt;&gt; <a href="http://source.squeak.org/trunk/Monticello-cmm.400.mcz" target="_blank">http://source.squeak.org/trunk/Monticello-cmm.400.mcz</a><br>
&gt;&gt;<br>
&gt;&gt; ==================== Summary ====================<br>
&gt;&gt;<br>
&gt;&gt; Name: Monticello-cmm.400<br>
&gt;&gt; Author: cmm<br>
&gt;&gt; Time: 19 September 2010, 4:50:02.156 pm<br>
&gt;&gt; UUID: 815ed4bb-b5b4-420c-9639-018beb254ae9<br>
&gt;&gt; Ancestors: Monticello-bf.399<br>
&gt;&gt;<br>
&gt;&gt; Change &quot;copy selector&quot; to copy the signature of the method to the<br>
&gt;&gt; clipboard, not just the selector.<br>
&gt;&gt;<br>
&gt;&gt; =============== Diff against Monticello-bf.399 ===============<br>
&gt;&gt;<br>
&gt;&gt; Item was changed:<br>
&gt;&gt;  ----- Method: MCCodeTool&gt;&gt;copySelector (in category &#39;menus&#39;) -----<br>
&gt;&gt;  copySelector<br>
&gt;&gt;        &quot;Copy the selected selector to the clipboard&quot;<br>
&gt;&gt; +       self selectedMessageName ifNotNilDo:<br>
&gt;&gt; +               [ : selector | Clipboard clipboardText:<br>
&gt;&gt; +                       (self selectedClassOrMetaClass<br>
&gt;&gt; +                               ifNil: [ selector asString ]<br>
&gt;&gt; +                               ifNotNilDo: [ : cls | (cls &gt;&gt; selector)<br>
&gt;&gt; signature ]) ]!<br>
&gt;&gt; -<br>
&gt;&gt; -       | selector |<br>
&gt;&gt; -       (selector := self selectedMessageName) ifNotNil:<br>
&gt;&gt; -               [Clipboard clipboardText: selector asString]!<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br>