You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, first of all thanks for the great library, I'm finding strange differences in some paragraphs between SideBySide mode and Combined mode. Given that I am using the same configuration parameters, in Combined mode the texts are aligned in the correct way ('detailLevel' => 'word'); while in SideBySide mode no. The strange thing is that this only happens in some blocks of lines (like the one in the example below), while in others it works correctly.
The problem can be seen clearly in the third to last and penultimate lines which are not even placed side by side; however, more generally, in the rest of the paragraph the words that differ are not marked.
I'm using the last version of the library.
== Text 1 ==
Reduc’d vnto th’extreameſt miſery.
Am I the woman, whoſe inuentiue pride,
(Adorn’d like Isis,) ſcornd mortalitie?
Iſt I that left my ſence ſo without guide,
That flattery would not let him know twas I?
Ah, now I ſee, they ſcarce tell truth, that praiſe vs,
Crownes are beguild, proſperity betraies vs.
What is become of all that ſtatelie traine,
Thoſe troopes that wont attend proſperitie?
See what is left, what number doth remaine,
A tombe, two maydes, and miſerable I.
And I t’adorne their tryumphes, am reſeru’d
A captiue kept to beautifie their ſpoyles:
Whom Cæſar labours, ſo to haue preſeru’d,
And ſeekes to entertaine my life with wiles.
== Text 2 ==
Reduc’d vnto th’extreameſt miſerie?
Am I the woman whoſe inuentiue pride,
Adorn’d like Iſis, skornd mortalitie?
Is’t I would haue my frailty ſo belide
That flattery could perſwade I was not I?
Well now I ſee they but delude that praiſe vs,
Greatneſſe is mockt, proſperity betraies vs.
And we are but our ſelues, although this clowd
Of interpoſed ſmokes make vs ſeeme more:
Witneſſe theſe gallant fortune-followng traines,
Theſe Summer Swallowes of felicitie
Gone with the heate, of all see what remaines,
This monument, two maydes, and wretched I.
And I t’adorne their triumphs, am reſeru’d
A captiue kept to honor others ſpoyles,
Whom Cæſar labors ſo to haue preſeru’d,
And ſeekes to entertaine my life with wiles.
The text was updated successfully, but these errors were encountered:
The detailed renderer (word) only works when a hunk's old/new lines counts are the same. And then it calculates detailed diff by assuming the N-th line in the old hunk maps to the N-th line in the new hunk.
Hi, first of all thanks for the great library, I'm finding strange differences in some paragraphs between SideBySide mode and Combined mode. Given that I am using the same configuration parameters, in Combined mode the texts are aligned in the correct way ('detailLevel' => 'word'); while in SideBySide mode no. The strange thing is that this only happens in some blocks of lines (like the one in the example below), while in others it works correctly.
The problem can be seen clearly in the third to last and penultimate lines which are not even placed side by side; however, more generally, in the rest of the paragraph the words that differ are not marked.
I'm using the last version of the library.
== Text 1 ==
Reduc’d vnto th’extreameſt miſery.
Am I the woman, whoſe inuentiue pride,
(Adorn’d like Isis,) ſcornd mortalitie?
Iſt I that left my ſence ſo without guide,
That flattery would not let him know twas I?
Ah, now I ſee, they ſcarce tell truth, that praiſe vs,
Crownes are beguild, proſperity betraies vs.
What is become of all that ſtatelie traine,
Thoſe troopes that wont attend proſperitie?
See what is left, what number doth remaine,
A tombe, two maydes, and miſerable I.
And I t’adorne their tryumphes, am reſeru’d
A captiue kept to beautifie their ſpoyles:
Whom Cæſar labours, ſo to haue preſeru’d,
And ſeekes to entertaine my life with wiles.
== Text 2 ==
Reduc’d vnto th’extreameſt miſerie?
Am I the woman whoſe inuentiue pride,
Adorn’d like Iſis, skornd mortalitie?
Is’t I would haue my frailty ſo belide
That flattery could perſwade I was not I?
Well now I ſee they but delude that praiſe vs,
Greatneſſe is mockt, proſperity betraies vs.
And we are but our ſelues, although this clowd
Of interpoſed ſmokes make vs ſeeme more:
Witneſſe theſe gallant fortune-followng traines,
Theſe Summer Swallowes of felicitie
Gone with the heate, of all see what remaines,
This monument, two maydes, and wretched I.
And I t’adorne their triumphs, am reſeru’d
A captiue kept to honor others ſpoyles,
Whom Cæſar labors ſo to haue preſeru’d,
And ſeekes to entertaine my life with wiles.
The text was updated successfully, but these errors were encountered: