<div dir="ltr">Just FYI, we have #isEmptyOrNil.<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 9:08 AM, <span dir="ltr"><<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Eliot Miranda uploaded a new version of Tools to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Tools-eem.527.mcz" target="_blank">http://source.squeak.org/trunk/Tools-eem.527.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Tools-eem.527<br>
Author: eem<br>
Time: 8 August 2014, 7:07:51.034 am<br>
UUID: d85d5331-2791-4594-9f21-79d551eafa08<br>
Ancestors: Tools-eem.526<br>
<br>
Make senders work in MessageNames when there is a<br>
selector but no method is selected.<br>
<br>
=============== Diff against Tools-eem.526 ===============<br>
<br>
Item was changed:<br>
----- Method: MessageNames>>selectedMessageName (in category 'selection') -----<br>
selectedMessageName<br>
+ selectorList basicSize = 0 ifTrue: [^ nil]. "Deals with selectorList nil or empty"<br>
+ ^selectorList at: (selectorListIndex max: 1) ifAbsent: [nil] "If no selection we can still find a selector"!<br>
- selectorList ifNil: [^ nil].<br>
- ^selectorListIndex = 0 ifFalse: [selectorList at: selectorListIndex ifAbsent: [nil]]!<br>
<br>
<br>
</blockquote></div><br></div>