<div dir="ltr">I would like to ask everyone doing reorganization a favor -- Please do NOT cut-and-paste methods verbatim from one place to another.<div><br></div><div>Utilities>>#methodDiffFor:class:selector:prettyDiffs: was moved to ChangeList via a cut-and-paste. This obliterated the original accounting information.<br>
</div><div><br></div><div>Instead, please use Drag-And-Drop and then, if you need to recover it in the source place, use MC to revert the deletion.</div><div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Tue, Dec 17, 2013 at 10:53 AM, <span dir="ltr"><<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Chris Muller uploaded a new version of Tools to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Tools-cmm.511.mcz" target="_blank">http://source.squeak.org/trunk/Tools-cmm.511.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Tools-cmm.511<br>
Author: cmm<br>
Time: 17 December 2013, 10:52:54.64 am<br>
UUID: a6bd1338-4797-4405-b677-832e4a12139c<br>
Ancestors: Tools-nice.510<br>
<br>
Recover original accounting information for ChangeList>>#methodDiffFor:class:selector:prettyDiffs:.<br>
<br>
=============== Diff against Tools-nice.510 ===============<br>
<br>
Item was changed:<br>
----- Method: ChangeList>>methodDiffFor:class:selector:prettyDiffs: (in category 'viewing access') -----<br>
methodDiffFor: aString class: aClass selector: aSelector prettyDiffs: prettyDiffBoolean<br>
"Return a string comprising a source-code diff between an existing method and the source-code in aString. DO prettyDiff if prettyDiffBoolean is true."<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>