So, do I need to do something different if I want to add this function to ALL &quot;text holders&quot; in squeak.&nbsp; Is there a place were I could one morph, and get it to change all of them?&nbsp; I would like to be able to also use this in a workspace, debugger, etc..<br>
<br><div class="gmail_quote">On Wed, Mar 5, 2008 at 8:09 PM, Colin Putney &lt;<a href="mailto:cputney@wiresong.ca">cputney@wiresong.ca</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
On 5-Mar-08, at 3:42 PM, David Zmick wrote:<br>
<br>
&gt; Ok, I have played around a little more, and I found a method<br>
&gt; OBTextPanel&gt;&gt;yellowButtonMenu, where I was able to get the &quot;button&quot;<br>
&gt; in the right place, but I can&#39;t figure out the correct action for<br>
&gt; it :(. &nbsp;I am not sure if we are thinking of the same thing, &nbsp;If you<br>
&gt; need any clarification of my problem, I would be more than happy to<br>
&gt; explain it to you better :)<br>
<br>
</div>Hi David,<br>
<br>
Damien is right - you&#39;ll be much better off writing a command than<br>
messing with #yellowButtonMenu. #yellowButtonMenu is just a hack to<br>
tap into the existing implementations of cut, paste, find etc, and<br>
avoid rewriting all that as commands. If you&#39;re creating something<br>
new, subclassing OBCommand is a much better way to go.<br>
<font color="#888888"><br>
Colin<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>David Zmick<br>/dz0004455\<br><a href="http://dz0004455.googlepages.com">http://dz0004455.googlepages.com</a>