Exemple #1
0
        public static MatchedLineTree FromLines(IReadOnlyList <string> leftLines, IReadOnlyList <string> rightLines)
        {
            var lmDiff = new LineMatchedDiffer {
                MinMatchScore = 0
            };
            var matchedLines = new MatchedLineTree(lmDiff.Match(leftLines, rightLines), rightLines.Count);

            matchedLines.CompareMatched(lmDiff.WordModeLines1, lmDiff.WordModeLines2, lmDiff.charRep);
            return(matchedLines);
        }
Exemple #2
0
 public SideAccess(MatchedLineTree tree, bool side)
 {
     this.tree = tree;
     this.side = side;
 }