...
Thank you, I'd like to try, but where can I found this LGenerics/lgSeqUtils ?
...
It lives here.
Thank you!
I install trunk version, because I see readme, and I'd like to see the json implemetation.
var declaration "I" is missing from sample, but I put it within 5 secs.
Well, this is a simplified solution, because works only with whole words.
This is mean, if only 1 letter different from words, this go to SourceChanges, and the TargetChanges list, and I don't see what letter changed exactly.
But it not a big problem, my priority looking for a simple solution.
Next problem, if any word repeated, I don't know, what word changed, so I can't colored the changes. For example:
s1 := 'sun day sun';
s2 := 'sunx day sun';
result:
Deleted from s1(i.e. not present in s2):
sun
Inserted into s2(i.e. not present in s1):
sunx
So thank you for this library, and the sample, but it isn't usable solution for me.
As I see TextDiff (new version, see this topic:
https://forum.lazarus.freepascal.org/index.php/topic,62219.msg470413.html#msg470413 much better options, but as I see UTF8 not supported.
Thank you again!