C# Class NetIde.Core.ToolWindows.DiffViewer.SideBySideViewer

Afficher le fichier Open project: netide/netide Class Usage Examples

Private Properties

Свойство Type Description
Format void
GetMarkerType DiffMarkerType
GetTrimmedText string
InitializeComponent void
PerformCopy void
RemoveFromDocument void
RemoveMarker void
SyncTo void
UpdateEditor void
UpdateVisibleLines void
WriteContextLine void
WriteEmptyLine void
WriteLine void
WriteLine void
_editor_ButtonClick void
_leftDetails_ContentTypeSelected void
_markerMap_LineClicked void
_rightDetails_ContentTypeSelected void

Méthodes publiques

Méthode Description
GetLeftText ( ) : string
GetRightText ( ) : string
LoadDiff ( Text leftText, Text rightText, EditList editList ) : void
Reset ( ) : void
SelectDetails ( IStream leftStream, FileType leftFileType, IStream rightStream, FileType rightFileType ) : void
SideBySideViewer ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnLeftUpdated ( EventArgs e ) : void
OnLeftUpdating ( CancelEventArgs e ) : void
OnRightUpdated ( EventArgs e ) : void
OnRightUpdating ( CancelEventArgs e ) : void

Private Methods

Méthode Description
Format ( EditList edits, Text a, Text b, List leftMarkers, List rightMarkers, StringBuilder leftOut, StringBuilder rightOut ) : void
GetMarkerType ( Edit type ) : DiffMarkerType
GetTrimmedText ( NetIde.Core.TextEditor.TextEditorControl editor, int start, int end ) : string
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PerformCopy ( NetIde.Core.TextEditor.TextEditorControl from, NetIde.Core.TextEditor.TextEditorControl to, int line, int length, int fromLength ) : void
RemoveFromDocument ( NetIde.Core.TextEditor.TextEditorControl editor, int line, int length ) : void
RemoveMarker ( IDiffMarker marker, int removeLength ) : void
SyncTo ( NetIde.Core.TextEditor.TextEditorControl source, NetIde.Core.TextEditor.TextEditorControl target ) : void
UpdateEditor ( NetIde.Core.TextEditor.TextEditorControl editor, Action action ) : void
UpdateVisibleLines ( ) : void
WriteContextLine ( Text text, int line, StringBuilder leftOut, StringBuilder rightOut ) : void
WriteEmptyLine ( StringBuilder @out, List markers ) : void
WriteLine ( StringBuilder @out, List markers, Text text, int line, Edit editType ) : void
WriteLine ( StringBuilder @out, Text text, int cur ) : void
_editor_ButtonClick ( object sender, DiffEditorButtonEventArgs e ) : void
_leftDetails_ContentTypeSelected ( object sender, EventArgs e ) : void
_markerMap_LineClicked ( object sender, DiffLineClickedEventArgs e ) : void
_rightDetails_ContentTypeSelected ( object sender, EventArgs e ) : void

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

GetLeftText() public méthode

public GetLeftText ( ) : string
Résultat string

GetRightText() public méthode

public GetRightText ( ) : string
Résultat string

LoadDiff() public méthode

public LoadDiff ( Text leftText, Text rightText, EditList editList ) : void
leftText Text
rightText Text
editList EditList
Résultat void

OnLeftUpdated() protected méthode

protected OnLeftUpdated ( EventArgs e ) : void
e EventArgs
Résultat void

OnLeftUpdating() protected méthode

protected OnLeftUpdating ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

OnRightUpdated() protected méthode

protected OnRightUpdated ( EventArgs e ) : void
e EventArgs
Résultat void

OnRightUpdating() protected méthode

protected OnRightUpdating ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SelectDetails() public méthode

public SelectDetails ( IStream leftStream, FileType leftFileType, IStream rightStream, FileType rightFileType ) : void
leftStream IStream
leftFileType FileType
rightStream IStream
rightFileType FileType
Résultat void

SideBySideViewer() public méthode

public SideBySideViewer ( ) : System
Résultat System