Méthode | 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 |
Méthode | 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 |
Résultat | string |
public UndoChange ( int left, int right ) : string | ||
left | int | |
right | int | |
Résultat | string |
public UndoDeletion ( int left, int right ) : string | ||
left | int | |
right | int | |
Résultat | string |