コード例 #1
0
 protected override List <ISegment> GetRemovedLines(IDocument document, ref int line, ref bool found)
 {
     return(LinePrefixHelper.GetLinesStartingWith(document, ref line, new[] { "-", " -" }, ref found));
 }
コード例 #2
0
 protected virtual List <ISegment> GetAddedLines(IDocument document, ref int line, ref bool found)
 {
     return(LinePrefixHelper.GetLinesStartingWith(document, ref line, "+", ref found));
 }
コード例 #3
0
 private List <ISegment> GetAddedLines(IDocument document, ref int line, ref bool found)
 {
     return(_linePrefixHelper.GetLinesStartingWith(document, ref line, "+", ref found));
 }