<div dir='auto'>Just btw, another strategy to compare long strings like these would be to pretty-print both sides before so that it's easier to identity different lines.</div><div class="gmail_extra"><br><div class="gmail_quote">Am 19.08.2021 15:01 schrieb gettimothy via Squeak-dev <squeak-dev@lists.squeakfoundation.org>:<br type="attribution" /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:'verdana' , 'arial' , 'helvetica' , sans-serif"><div></div><br />thank you<div><br /></div><div>i picked it up with emacs ediff.</div><div><br /></div><div>btw, that <p> is good news and correct peg parser output (:<br /><br /><div></div><div><br /> ---- On Thu, 19 Aug 2021 07:46:38 -0400 <b> herbertkoenig@gmx.net </b> wrote ----<br /><br /><blockquote style="border-left:1px solid rgb( 204 , 204 , 204 );padding-left:6px;margin-left:5px">
<div>
Hi,<br />
<br />
Just in case:<br />
(I'm on win) It's only the enclosing <p><br />
<br />
Cheers,<br />
<br />
Herbert<br />
<br />
<img src="cid:part1.DEC6E299.5092F419@gmx.net" alt="" /><br />
<br />
<div>Am 19.08.2021 um 10:03 schrieb
gettimothy via Squeak-dev:<br />
</div>
<blockquote>
<div style="font-family:'verdana' , 'arial' , 'helvetica' , sans-serif;font-size:10pt">
<div>Hi Marcel.<br />
</div>
<div><br />
</div>
<div>Thank you ...<br />
</div>
<div><br />
</div>
<div>I will need the inline as my comparison is....<br />
</div>
<div><br />
</div>
<div><br />
</div>
<blockquote style="border:1px solid rgb( 204 , 204 , 204 );padding:7px;background-color:rgb( 245 , 245 , 245 )">
<div>
<div>TextDiffBuilder from:'<div><h5> Note: This
example is not accessible, and should be avoided as much
as possible. For example, nested tables (tables inside
tables) should be separated into distinct tables when
possible. </h5><table style="border: 1px solid
black; border-spacing: 0; margin: 1em
auto;"><caption>''An example
table''</caption><tr><th style="border: 1px
solid black; padding: 5px; background: #efefef;"> First
header</th><th colspan="2" style="border: 1px
solid black; padding: 5px; background: #ffdead;">
Second header</th></tr><tr colspan="2"
style="border: 1px solid black; padding: 5px; background:
#ffdead;"><td style="border: 1px solid black;
padding: 5px;"> Upper left</td><td
style="border: 1px solid black; padding: 5px;"> Upper
middle</td><td rowspan="2" style="border: 1px
solid black; border-bottom: 3px solid grey; padding: 5px;
vertical-align: top;"> Right
side</td></tr><tr rowspan="2"
style="border: 1px solid black; border-bottom: 3px solid
grey; padding: 5px; vertical-align: top;"><td
style="border: 1px solid black; border-bottom: 3px solid
grey; padding: 5px;"> Lower left</td><td
style="border: 1px solid black; border-bottom: 3px solid
grey; padding: 5px;"> Lower
middle</td></tr><tr style="border: 1px
solid black; border-bottom: 3px solid grey; padding:
5px;"><td colspan="3" style="border: 1px solid
black; text-align: center;">Text before a nested
table...<table><caption>''A table in a
table''</caption><tr colspan="3" style="border:
1px solid black; text-align: center;"><td
style="text-align: center; width: 150px;"> <a href="<a href="https://www.wikipedia.org/wiki/Wiki">https://www.wikipedia.org/wiki/Wiki</a>"><div
class="card"><img src="<a href="https://commons.wikimedia.org/wiki/Special:Redirect/file/Wiki.png">https://commons.wikimedia.org/wiki/Special:Redirect/file/Wiki.png</a>"
class="linkfile"/><div
class="card-section">Wiki</div></div></a></td><td
style="text-align: center; width: 150px;"> <a href="<a href="https://www.wikipedia.org/wiki/Wiki">https://www.wikipedia.org/wiki/Wiki</a>"><div
class="card"><img src="<a href="https://commons.wikimedia.org/wiki/Special:Redirect/file/Wiki.png">https://commons.wikimedia.org/wiki/Special:Redirect/file/Wiki.png</a>"
class="linkfile"/><div
class="card-section">Wiki</div></div></a></td></tr><tr
style="text-align: center; width: 150px;"><td
colspan="2" style="text-align:center; border-top: 1px
solid red;<!-- --> border-right: 1px solid red;
border-bottom: 2px solid red;<!-- -->
border-left: 1px solid red;">Two Wikipedia
logos</td></tr></table></td></tr></table></div>'<br />
</div>
<div><br />
</div>
<div>to: '<div><p><h5> Note: This example
is not accessible, and should be avoided as much as
possible. For example, nested tables (tables inside
tables) should be separated into distinct tables when
possible. </h5><table style="border: 1px solid
black; border-spacing: 0; margin: 1em
auto;"><caption>''An example
table''</caption><tr><th style="border: 1px
solid black; padding: 5px; background: #efefef;"> First
header</th><th colspan="2" style="border: 1px
solid black; padding: 5px; background: #ffdead;">
Second header</th></tr><tr colspan="2"
style="border: 1px solid black; padding: 5px; background:
#ffdead;"><td style="border: 1px solid black;
padding: 5px;"> Upper left</td><td
style="border: 1px solid black; padding: 5px;"> Upper
middle</td><td rowspan="2" style="border: 1px
solid black; border-bottom: 3px solid grey; padding: 5px;
vertical-align: top;"> Right
side</td></tr><tr rowspan="2"
style="border: 1px solid black; border-bottom: 3px solid
grey; padding: 5px; vertical-align: top;"><td
style="border: 1px solid black; border-bottom: 3px solid
grey; padding: 5px;"> Lower left</td><td
style="border: 1px solid black; border-bottom: 3px solid
grey; padding: 5px;"> Lower
middle</td></tr><tr style="border: 1px
solid black; border-bottom: 3px solid grey; padding:
5px;"><td colspan="3" style="border: 1px solid
black; text-align: center;">Text before a nested
table...<table><caption>''A table in a
table''</caption><tr colspan="3" style="border:
1px solid black; text-align: center;"><td
style="text-align: center; width: 150px;"> <a href="<a href="https://www.wikipedia.org/wiki/Wiki">https://www.wikipedia.org/wiki/Wiki</a>"><div
class="card"><img src="<a href="https://commons.wikimedia.org/wiki/Special:Redirect/file/Wiki.png">https://commons.wikimedia.org/wiki/Special:Redirect/file/Wiki.png</a>"
class="linkfile"/><div
class="card-section">Wiki</div></div></a></td><td
style="text-align: center; width: 150px;"> <a href="<a href="https://www.wikipedia.org/wiki/Wiki">https://www.wikipedia.org/wiki/Wiki</a>"><div
class="card"><img src="<a href="https://commons.wikimedia.org/wiki/Special:Redirect/file/Wiki.png">https://commons.wikimedia.org/wiki/Special:Redirect/file/Wiki.png</a>"
class="linkfile"/><div
class="card-section">Wiki</div></div></a></td></tr><tr
style="text-align: center; width: 150px;"><td
colspan="2" style="text-align:center; border-top: 1px
solid red;<!-- --> border-right: 1px solid red;
border-bottom: 2px solid red;<!-- -->
border-left: 1px solid red;">Two Wikipedia
logos</td></tr></table></td></tr></table></p></div>') buildDisplayPatch
asMorph openInHand<br />
</div>
<div><br />
</div>
</div>
</blockquote>
<div><br />
</div>
<div>So, this tells me that the two strings are different, but
not "where" they are different which is what you and chris
mean by "inline".<br />
</div>
<div><br />
</div>
<div>Thanks for your time.<br />
</div>
<div><br />
</div>
<div>I will try emacs diff<br />
</div>
<div><br />
</div>
<div>cheers!</div>
<br />
<div style="border-top:1px solid rgb( 204 , 204 , 204 );min-height:0px;margin-top:10px;margin-bottom:10px;line-height:0px"><br />
</div>
<div><br />
<div>---- On Tue, 17 Aug 2021 04:23:06 -0400
<b>Marcel Taeumel <a href="mailto:marcel.taeumel@hpi.de"><marcel.taeumel@hpi.de></a></b> wrote
----<br />
</div>
<br />
<blockquote style="margin:0px">
<div>
<div dir="ltr" style="font-size:10pt;font-family:'arial';color:#000000;text-align:left">Hi Timothy --
<div><br />
</div>
<div><span style="font-size:13.3333px">(TextDiffBuilder
from: 'Lazy fat dog' to: 'Lazy fat cat')
buildDisplayPatch asMorph openInHand</span><br />
</div>
<div><span style="font-size:13.3333px"><br />
</span></div>
<div><span style="font-size:13.3333px">Well,
no in-line diffs. :-/</span><br />
</div>
<div><span style="font-size:13.3333px"><br />
</span></div>
<div><span style="font-size:13.3333px">Best,</span><br />
</div>
<div><span style="font-size:13.3333px">Marcel</span><br />
</div>
<div><br />
</div>
<blockquote style="border-left-style:solid;border-width:1px;margin-top:20px;margin-left:0px;padding-left:10px">
<p style="margin-top:10px"><span style="color:rgb( 170 , 170 , 170 );margin-top:10px">Am 17.08.2021 09:48:32 schrieb gettimothy
via Squeak-dev <<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>>:</span><br />
</p>
<div style="font-family:'arial' , 'helvetica' , sans-serif">
<div style="font-family:'verdana' , 'arial' , 'helvetica' , sans-serif;font-size:10pt">
<div>Hi Folks,<br />
</div>
<div><br />
</div>
<div>I did not find what I was looking for on
forum world, so asking here.<br />
</div>
<div><br />
</div>
<div>I would like to "diff" to strings<br />
</div>
<div><br />
</div>
<div>"Lazy fat dog" diff: "Lazy fat cat" <br />
</div>
<div><br />
</div>
<div>I took a brief glance at the Diff3 class and
tests and saw nothing obvious, so I ask here.<br />
</div>
<div><br />
</div>
<div>Thank you for your time<br />
</div>
</div>
<br />
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<div><br />
</div>
</div>
<br />
<br />
<fieldset></fieldset>
<pre></pre>
</blockquote>
<br />
</div>
<br /></blockquote></div></div></div><br /></div>
</blockquote></div><br></div>