[squeak-dev] The Inbox: Tools-fbs.330.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 29 17:17:12 UTC 2011


A new version of Tools was added to project The Inbox:
http://source.squeak.org/inbox/Tools-fbs.330.mcz

==================== Summary ====================

Name: Tools-fbs.330
Author: fbs
Time: 29 March 2011, 5:04:37.653 pm
UUID: 58681feb-0cdc-2a42-9c38-9cfbe94f518b
Ancestors: Tools-fbs.329

Big Switchover 2: the Getters.

=============== Diff against Tools-fbs.329 ===============

Item was changed:
  ----- Method: Browser>>messageListIndex (in category 'message list') -----
  messageListIndex
  	"Answer the index of the selected message selector into the currently 
  	selected message category."
  
+ 	^ self messageListIndexOf: self selectedMessageName!
- 	^messageListIndex!

Item was changed:
  ----- Method: Browser>>selectedMessageName (in category 'message list') -----
  selectedMessageName
  	"Answer the message selector of the currently selected message, if any. 
  	Answer nil otherwise."
  
+ 	^ selectedMessageName.!
- 	| aList |
- 	messageListIndex = 0 ifTrue: [^ nil].
- 	^ (aList := self messageList) size >= messageListIndex
- 		ifTrue:
- 			[aList at: messageListIndex]
- 		ifFalse:
- 			[nil]!




More information about the Squeak-dev mailing list