C# Class WikiFunctions.UnifiedDiff

Mostrar archivo Open project: reedy/AutoWikiBrowser Class Usage Examples

Public Methods

Method Description
WriteUnifiedDiff ( Diff diff, TextWriter writer ) : void
WriteUnifiedDiff ( Diff diff, TextWriter writer, string fromfile, string tofile, int context ) : void
WriteUnifiedDiff ( string leftFile, string rightFile, TextWriter writer, int context, bool caseSensitive, bool compareWhitespace ) : void
WriteUnifiedDiff ( string leftLines, string leftName, string rightLines, string rightName, TextWriter writer, int context, bool caseSensitive, bool compareWhitespace ) : void

Private Methods

Method Description
LoadFileLines ( string file ) : string[]
UnifiedDiff ( ) : System
WriteBlock ( TextWriter writer, char prefix, Range items ) : void
WriteCharBlock ( TextWriter writer, char prefix, Range items ) : void
WriteStringBlock ( TextWriter writer, char prefix, Range items ) : void
WriteUnifiedDiffSection ( TextWriter writer, ArrayList hunks ) : void

Method Details

WriteUnifiedDiff() public static method

public static WriteUnifiedDiff ( Diff diff, TextWriter writer ) : void
diff Diff
writer System.IO.TextWriter
return void

WriteUnifiedDiff() public static method

public static WriteUnifiedDiff ( Diff diff, TextWriter writer, string fromfile, string tofile, int context ) : void
diff Diff
writer System.IO.TextWriter
fromfile string
tofile string
context int
return void

WriteUnifiedDiff() public static method

public static WriteUnifiedDiff ( string leftFile, string rightFile, TextWriter writer, int context, bool caseSensitive, bool compareWhitespace ) : void
leftFile string
rightFile string
writer System.IO.TextWriter
context int
caseSensitive bool
compareWhitespace bool
return void

WriteUnifiedDiff() public static method

public static WriteUnifiedDiff ( string leftLines, string leftName, string rightLines, string rightName, TextWriter writer, int context, bool caseSensitive, bool compareWhitespace ) : void
leftLines string
leftName string
rightLines string
rightName string
writer System.IO.TextWriter
context int
caseSensitive bool
compareWhitespace bool
return void