<div dir="ltr"><div dir="ltr">Am So., 4. Aug. 2019 um 16:36 Uhr schrieb <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>>:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Marcel Taeumel uploaded a new version of Tools to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Tools-mt.864.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/trunk/Tools-mt.864.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Tools-mt.864<br>
Author: mt<br>
Time: 4 August 2019, 4:36:12.203381 pm<br>
UUID: cb8e1c1e-b28e-a647-a72e-1c49fe42bcc0<br>
Ancestors: Tools-mt.856, Tools-mt.863<br>
<br>
Merges and refines Tools-mt.856 based on the discussion on squeak-dev: <a href="http://forum.world.st/The-Inbox-Tools-mt-856-mcz-td5101574.html" rel="noreferrer" target="_blank">http://forum.world.st/The-Inbox-Tools-mt-856-mcz-td5101574.html</a><br>
<br>
Note that if you notice any performance problems on slower machines, we might want to make this a preference.<br>
<br>
=============== Diff against Tools-mt.863 ===============<br>
<br>
Item was changed:<br>
  ----- Method: Browser>>messageList (in category 'message list') -----<br>[...]<br>
<br>
Item was added:<br>
+ ----- Method: CodeHolder>>formattedLabel:forSelector:inClass: (in category 'message list') -----<br>
+ formattedLabel: aString forSelector: aSymbol inClass: aClass<br>
+       "Show deprecated messages differently so that users recognize them quickly to avoid them."<br>
+       <br>
+       | formattedLabel |<br>
+       aSymbol = #Definition<br>
+               ifTrue: [aClass isDeprecated not<br>
+                       ifTrue: [^ aString]]<br>
+               ifFalse: [(aClass compiledMethodAt: aSymbol) isDeprecated not<br></blockquote><div><br></div><div><br></div><div>This also does not work for RecentMessageSet, when a method in there was deleted again in the meantime. A KeyNotFound from compiledMethodAt: is the result.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
+                       ifTrue: [^ aString]].<br>
+       <br>
+       formattedLabel := aString asText.<br>
+       <br>
+       (self userInterfaceTheme deprecatedMessageAttributes ifNil: [{TextColor gray. TextEmphasis struckOut}]) do: [:textAttribute |<br>
+               formattedLabel addAttribute: textAttribute].<br>
+ <br>
+       ^ formattedLabel.!<br>[...]</blockquote><div> </div></div></div>