[squeak-dev] The Trunk: Protocols-mt.82.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Nov 18 16:00:01 UTC 2021
Marcel Taeumel uploaded a new version of Protocols to project The Trunk:
http://source.squeak.org/trunk/Protocols-mt.82.mcz
==================== Summary ====================
Name: Protocols-mt.82
Author: mt
Time: 18 November 2021, 5:00:01.029305 pm
UUID: 8df3746e-a1cd-4d42-94e1-da645bfb383d
Ancestors: Protocols-nice.81, Protocols-ct.78
System-mt.1246
=============== Diff against Protocols-nice.81 ===============
Item was changed:
----- Method: Lexicon>>removeMessage (in category 'menu commands') -----
removeMessage
- "Remove the selected message from the system."
+ super removeMessage ifFalse: [^ false].
+
- messageListIndex = 0 ifTrue: [^ self].
- self okToChange ifFalse: [^ self].
-
- super removeMessage.
"my #reformulateList method, called from the super #removeMethod method, will however try to preserve the selection, so we take pains to clobber it by the below..."
messageListIndex := 0.
self changed: #messageList.
self changed: #messageListIndex.
contents := nil.
+ self contentsChanged.
+
+ ^ true!
- self contentsChanged!
More information about the Squeak-dev
mailing list
|