private void AddModifiedBlock(DiffInfo oldTextInfo, DiffFile oldFile, DiffInfo newTextInfo, DiffFile newFile) { oldFile.AddDiffBlock(oldTextInfo, DiffBlockType.Modified); newFile.AddDiffBlock(newTextInfo, DiffBlockType.Modified); }
private static void AddBlockWithImagineryPart(DiffInfo imagineryTextInfo, DiffFile imagineryBlockFile, DiffInfo textInfo, DiffFile file, DiffBlockType nonImagineryBlockType) { imagineryBlockFile.AddImaginaryBlock(imagineryTextInfo); file.AddDiffBlock(textInfo, nonImagineryBlockType); }