<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
Hmm... is there a bug in the RecentMessages' "cache invalidation" protocol? I would expect that RecentMessages listens to all code changes and updates its list of recent messages accordingly.<div><br></div><div>There might be other symptoms lurking in the image. Would it be easy to fix the updates in RecentMessages instead?</div><div><br></div><div><div>Best,</div><div>Marcel</div></div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
<p style="color: #AAAAAA; margin-top: 10px;">Am 22.09.2019 21:50:57 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p><div style="font-family:Arial,Helvetica,sans-serif">A new version of Tools was added to project The Inbox:<br>http://source.squeak.org/inbox/Tools-jr.895.mcz<br><br>==================== Summary ====================<br><br>Name: Tools-jr.895<br>Author: jr<br>Time: 22 September 2019, 9:50:46.28851 pm<br>UUID: 58fc8b0a-c340-8f49-9ef7-7a93d9ddbc2a<br>Ancestors: Tools-jr.894<br><br>Fix "does not understand" edge case with formatted labels in RecentMessages<br><br>=============== Diff against Tools-jr.894 ===============<br><br>Item was changed:<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>+ aClass ifNil:<br>+ [^ aString asText<br>+ "Outdated MethodReference.<br>+ Appears in RecentMessages after class renames, for example."].<br> (aSymbol = #Definition or: [aSymbol = #Comment])<br> ifTrue: [aClass isDeprecated<br> ifFalse: [^ aString]]<br> ifFalse: [(aClass isDeprecated or: [(aClass compiledMethodAt: aSymbol ifAbsent: [^ aString]) isDeprecated])<br> ifFalse: [^ 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><br><br></div></blockquote>
</div></body>