The ability to compare two arbitrary Strings
Brought to you by:
keeskuip
Currently, I can compare 2 files etc. etc. What would be really cool for me, however, is to be able to compare any two arbitrary Strings (doesn't matter if they came from a file or elsewhere).
With the API as is now, I'm forced to save my in memory Strings to a temp file.
Perhaps the API could provide a method that took two Reader objects as arguments. That way, it could be either a file based or String based, either which would be fine.
I already diff 2 strings in the application.
In the FolderDiff 2 the 2 directory names are presented with letters in bold that are different.
The code is in DiffLabel.java (new JMDiff().diff(textList, otherTextList, Ignore.NULL_IGNORE);