<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Marcel,</p>
<p><br>
</p>
<p>Did you see <span>ShoutCore-ct.76? I think my solution could also work for dead contexts, instead of just refusing to style :-)</span></p>
<p><span><br>
</span></p>
<p><span>Best,</span></p>
<p><span>Christoph</span></p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div>
<div class="x__rp_T4" id="x_Item.MessagePartBody">
<div class="x__rp_U4 x_ms-font-weight-regular x_ms-font-color-neutralDark x_rpHighlightAllClass x_rpHighlightBodyClass" id="x_Item.MessageUniqueBody" style="font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont">
<div dir="ltr">
<div id="x_divtagdefaultwrapper"><font face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols">
<div id="x_Signature">
<div style="margin:0px"><font style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont"></font></div>
</div>
</font></div>
</div>
</div>
</div>
</div>
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von commits@source.squeak.org <commits@source.squeak.org><br>
<b>Gesendet:</b> Donnerstag, 21. November 2019 15:51:18<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org; packages@lists.squeakfoundation.org<br>
<b>Betreff:</b> [squeak-dev] The Trunk: ShoutCore-mt.76.mcz</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Marcel Taeumel uploaded a new version of ShoutCore to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/ShoutCore-mt.76.mcz">http://source.squeak.org/trunk/ShoutCore-mt.76.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: ShoutCore-mt.76<br>
Author: mt<br>
Time: 21 November 2019, 3:51:18.231156 pm<br>
UUID: c0aa1566-69f3-1845-8993-0f5f67fcdb96<br>
Ancestors: ShoutCore-eem.75<br>
<br>
Fixes a bug with syntax highlighting for dead context's in the debugger.<br>
<br>
=============== Diff against ShoutCore-eem.75 ===============<br>
<br>
Item was changed:<br>
  ----- Method: SHParserST80>>initializeInstanceVariables (in category 'parse support') -----<br>
  initializeInstanceVariables<br>
  <br>
         instanceVariables := classOrMetaClass <br>
                 ifNil: [ #() ]<br>
                 ifNotNil: [ classOrMetaClass allInstVarNames asArray ].<br>
         allowUnderscoreAssignments := Scanner allowUnderscoreAsAssignment.<br>
         allowUnderscoreSelectors := Scanner prefAllowUnderscoreSelectors.<br>
         allowBlockArgumentAssignment := Scanner allowBlockArgumentAssignment.<br>
         sourcePosition := 1.<br>
         arguments<br>
                 ifNil: [ arguments := OrderedCollection with: nil ]<br>
                 ifNotNil: [ arguments reset; addLast: nil ].<br>
         temporaries<br>
                 ifNil: [ temporaries := OrderedCollection with: nil ]<br>
                 ifNotNil: [ temporaries reset; addLast: nil ].<br>
+        (context notNil and: [ context isDead not ])<br>
+                ifTrue: [ self initializeVariablesFromContext ].<br>
-        context ifNotNil: [ self initializeVariablesFromContext ].<br>
         bracketDepth := 0.<br>
         ranges<br>
                 ifNil: [ ranges := OrderedCollection new: 40 "Covers over 80% of all methods." ]<br>
                 ifNotNil: [ ranges reset ]!<br>
<br>
Item was changed:<br>
  ----- Method: SHParserST80>>initializeVariablesFromContext (in category 'parse support') -----<br>
  initializeVariablesFromContext<br>
  <br>
         | contextSourcePcIndex contextSourceParser |<br>
         contextSourcePcIndex := (context debuggerMap<br>
                 rangeForPC: context pc<br>
                 in: context method<br>
+                contextIsActiveContext: true "... to really use the context's pc.")<br>
-                contextIsActiveContext: true "little white lie to work in every situation")<br>
                         start.<br>
         contextSourceParser := self class new<br>
                 classOrMetaClass: context method methodClass;<br>
                 environment: self environment;<br>
                 source: (context method getSource first: contextSourcePcIndex);<br>
                 yourself.<br>
         contextSourceParser parse.<br>
         arguments := contextSourceParser activeArguments.<br>
         temporaries  := contextSourceParser activeTemporaries.!<br>
<br>
<br>
</div>
</span></font>
</body>
</html>