j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Just FYI, we have #isEmptyOrNil.
On Fri, Aug 8, 2014 at 9:08 AM, commits@source.squeak.org wrote:
Eliot Miranda uploaded a new version of Tools to project The Trunk: http://source.squeak.org/trunk/Tools-eem.527.mcz
==================== Summary ====================
Name: Tools-eem.527 Author: eem Time: 8 August 2014, 7:07:51.034 am UUID: d85d5331-2791-4594-9f21-79d551eafa08 Ancestors: Tools-eem.526
Make senders work in MessageNames when there is a selector but no method is selected.
=============== Diff against Tools-eem.526 ===============
Item was changed: ----- Method: MessageNames>>selectedMessageName (in category 'selection') ----- selectedMessageName
selectorList basicSize = 0 ifTrue: [^ nil]. "Deals with
selectorList nil or empty"
^selectorList at: (selectorListIndex max: 1) ifAbsent: [nil] "If
no selection we can still find a selector"!
selectorList ifNil: [^ nil].
^selectorListIndex = 0 ifFalse: [selectorList at:
selectorListIndex ifAbsent: [nil]]!
Attachments:
squeak-dev@lists.squeakfoundation.org