<div dir="ltr"><div>I&#39;ve uploaded this one from my package cache because it is mandatory for proper update of trunk.</div>I don&#39;t know for which reason it disappeared, hope it was accidental.<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/12/17  <span dir="ltr">&lt;<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Nicolas Cellier uploaded a new version of 45Deprecated to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/45Deprecated-fbs.8.mcz" target="_blank">http://source.squeak.org/trunk/45Deprecated-fbs.8.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: 45Deprecated-fbs.8<br>
Author: fbs<br>
Time: 15 July 2013, 11:05:25.904 pm<br>
UUID: 0cf4998f-1a21-e142-9b06-672f04121d79<br>
Ancestors: 45Deprecated-fbs.7<br>
<br>
#methodDiffFor:class:selector:prettyDiffs: has only one sender, so move the method where if wants to go and deprecate the old copy.<br>
<br>
=============== Diff against 45Deprecated-fbs.7 ===============<br>
<br>
Item was added:<br>
+ ----- Method: Utilities class&gt;&gt;methodDiffFor:class:selector:prettyDiffs: (in category &#39;*45Deprecated-miscellaneous&#39;) -----<br>
+ methodDiffFor: aString class: aClass selector: aSelector prettyDiffs: prettyDiffBoolean<br>
+       &quot;Return a string comprising a source-code diff between an existing method and the source-code in aString.  DO prettyDiff if prettyDiffBoolean is true.&quot;<br>
+<br>
+       ^ (aClass notNil and: [aClass includesSelector: aSelector])<br>
+               ifTrue:<br>
+                       [TextDiffBuilder<br>
+                               buildDisplayPatchFrom: (aClass sourceCodeAt: aSelector)<br>
+                               to: aString<br>
+                               inClass: aClass<br>
+                               prettyDiffs: prettyDiffBoolean]<br>
+               ifFalse:<br>
+                       [aString copy]!<br>
<br>
<br>
</blockquote></div><br></div>