The Trunk: Tools-fbs.415.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Tools-fbs.415.mcz

commits-2
Frank Shearar uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-fbs.415.mcz

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

Name: Tools-fbs.415
Author: fbs
Time: 19 July 2012, 2:39:10.14 pm
UUID: 5cc4c76f-cd59-410c-b5de-8dd427098e6d
Ancestors: Tools-cmm.414

Mantis bug 7697: deleting a message from a MessageSet doesn't automatically select another message, breaking the flow when, say, deleting a large number of messages.

=============== Diff against Tools-cmm.414 ===============

Item was changed:
  ----- Method: MessageSet>>deleteFromMessageList: (in category 'message functions') -----
  deleteFromMessageList: aMessage
  "Delete the given message from the receiver's message list"
+ | currIdx |
+ currIdx := self messageListIndex.
+ messageList := messageList copyWithout: aMessage.
+ messageList ifNotEmpty: [self messageListIndex: {currIdx. messageList size.} min]!
-
- messageList := messageList copyWithout: aMessage!