I am trying to compare two HTML files using your library.
I create new ComparisonSettings object like in official example:
var settings = new ComparisonSettings(); settings.InsertedItemsStyle.FontColor = System.Drawing.Color.Brown; settings.InsertedItemsStyle.BeginSeparatorString = "<inserted>"; settings.InsertedItemsStyle.EndSeparatorString = "</inserted>"; settings.DeletedItemsStyle.FontColor = System.Drawing.Color.Aquamarine; settings.DeletedItemsStyle.BeginSeparatorString = "<deleted>"; settings.DeletedItemsStyle.EndSeparatorString = "</deleted>";
However, when I look on the result file, I see none of this “separation strings”. They just not exist in the content of output file. Why?
PLease, tell me, how could I use this parameter? I need to mark text chunks as inserted or deleted to perform a user-based comparison. I believe this is one of your product features.
Also, I have one more question. When I call ICompareResult.GetChanges() method, I get an array of object. Each object has a zero-based Identifier. Are they used in the output file to identify applied changes? I would appreciate much if you tell me, how this identifiers are used.