Method | Description | |
---|---|---|
DiffHead ( ) : string |
Returns style header, from style.css file if present, else default style
|
|
GetDiff ( string leftText, string rightText, int contextLines ) : string |
Renders diff
|
|
ResetCustomStyles ( ) : void | ||
UndoAddition ( int right ) : string | ||
UndoChange ( int left, int right ) : string | ||
UndoDeletion ( int left, int right ) : string |
Method | Description | |
---|---|---|
ContextHeader ( int left, int right ) : void | ||
ContextLine ( int line ) : void |
Renders a context row
|
|
LineAdded ( int line ) : void | ||
LineChanged ( int leftLine, int rightLine ) : void | ||
LineDeleted ( int left, int right ) : void | ||
RenderContext ( Diff hunk ) : void | ||
RenderDifference ( Diff hunk ) : void | ||
WhitespaceDiff ( StringBuilder res, |
||
WordDiff ( StringBuilder res, Range range, Range otherRange, IList |
public GetDiff ( string leftText, string rightText, int contextLines ) : string | ||
leftText | string | Earlier version of the text |
rightText | string | Later version of the text |
contextLines | int | Number of unchanged lines to show around changed ones |
return | string |
public UndoChange ( int left, int right ) : string | ||
left | int | |
right | int | |
return | string |
public UndoDeletion ( int left, int right ) : string | ||
left | int | |
right | int | |
return | string |