示例#1
0
        private void AddModifiedBlock(DiffInfo oldTextInfo, DiffFile oldFile,
                                      DiffInfo newTextInfo, DiffFile newFile)
        {
            oldFile.AddDiffBlock(oldTextInfo, DiffBlockType.Modified);

            newFile.AddDiffBlock(newTextInfo, DiffBlockType.Modified);
        }
示例#2
0
        private static void AddBlockWithImagineryPart(DiffInfo imagineryTextInfo, DiffFile imagineryBlockFile,
                                                      DiffInfo textInfo, DiffFile file, DiffBlockType nonImagineryBlockType)
        {
            imagineryBlockFile.AddImaginaryBlock(imagineryTextInfo);

            file.AddDiffBlock(textInfo, nonImagineryBlockType);
        }