C# Class MonoDevelop.VersionControl.Views.EditorCompareWidgetBase

Inheritance: Gtk.Bin
Exibir arquivo Open project: powerumc/monodevelop_korean Class Usage Examples

Protected Properties

Property Type Description
editors MonoTextEditor[]
headerWidgets Gtk.Widget[]
info MonoDevelop.VersionControl.Views.VersionControlDocumentInfo
viewOnly bool

Public Methods

Method Description
ChildType ( ) : GLib.GType
CreateDiff ( ) : void
GetColor ( Hunk hunk, bool removeSide, bool border, double alpha ) : Cairo.Color
GetDiffRectangles ( MonoTextEditor editor, int startOffset, int endOffset ) : ICollection
RemoveLocal ( TextEditorData data ) : void
SetLocal ( TextEditorData data ) : void
SetVersionControlInfo ( MonoDevelop.VersionControl.Views.VersionControlDocumentInfo info ) : void
UpdateDiff ( ) : void
UpdateLocalText ( ) : void
this ( Gtk.Widget w ) : ContainerChild

Protected Methods

Method Description
ClearDiffCache ( ) : void
CreateComponents ( ) : void
EditorCompareWidgetBase ( ) : System
EditorCompareWidgetBase ( bool viewOnly ) : System
ForAll ( bool include_internals, Gtk callback ) : void
Intialize ( ) : void
OnAdded ( Gtk.Widget widget ) : void
OnDestroyed ( ) : void
OnDiffChanged ( EventArgs e ) : void
OnRemoved ( Gtk.Widget widget ) : void
OnScrollEvent ( Gdk.EventScroll evnt ) : bool
OnSetVersionControlInfo ( MonoDevelop.VersionControl.Views.VersionControlDocumentInfo info ) : void
OnSizeAllocated ( Gdk.Rectangle allocation ) : void
OnSizeRequested ( Gtk &requisition ) : void
UndoChange ( MonoTextEditor fromEditor, MonoTextEditor toEditor, Hunk hunk ) : void

Private Methods

Method Description
AdjustmentChanged ( object sender, EventArgs e ) : void
BreakTextInWords ( MonoTextEditor editor, int start, int count ) : List
CalculateChunkPath ( MonoTextEditor editor, List diff, List words, bool useRemove ) : List
CaretPositionChanged ( object sender, Mono.TextEditor.DocumentLocationEventArgs e ) : void
Connect ( Gtk.Adjustment fromAdj, Gtk.Adjustment toAdj ) : void
EditorFocusIn ( object sender, Gtk.FocusInEventArgs args ) : void
GetDiffPaths ( List diff, MonoTextEditor editor, Hunk hunk ) : List>.Tuple
HandleDataDocumentTextReplaced ( object sender, Mono.TextEditor.DocumentChangeEventArgs e ) : void
HandleInfoDocumentTextEditorDataDocumentTextReplaced ( object sender, Mono.TextEditor.DocumentChangeEventArgs e ) : void
HandleMainEditorhandleEditorOptionsChanged ( object sender, EventArgs e ) : void
PaintEditorOverlay ( TextArea editor, PaintEventArgs args, List diff, bool paintRemoveSide ) : void
RedrawMiddleAreas ( ) : void
ShowPopup ( MonoTextEditor editor, Gdk.EventButton evt ) : void
UpdateCaretPosition ( Mono.TextEditor.Caret caret ) : void

Method Details

ChildType() public method

public ChildType ( ) : GLib.GType
return GLib.GType

ClearDiffCache() protected method

protected ClearDiffCache ( ) : void
return void

CreateComponents() protected abstract method

protected abstract CreateComponents ( ) : void
return void

CreateDiff() public abstract method

public abstract CreateDiff ( ) : void
return void

EditorCompareWidgetBase() protected method

protected EditorCompareWidgetBase ( ) : System
return System

EditorCompareWidgetBase() protected method

protected EditorCompareWidgetBase ( bool viewOnly ) : System
viewOnly bool
return System

ForAll() protected method

protected ForAll ( bool include_internals, Gtk callback ) : void
include_internals bool
callback Gtk
return void

GetColor() public static method

public static GetColor ( Hunk hunk, bool removeSide, bool border, double alpha ) : Cairo.Color
hunk Hunk
removeSide bool
border bool
alpha double
return Cairo.Color

GetDiffRectangles() public static method

public static GetDiffRectangles ( MonoTextEditor editor, int startOffset, int endOffset ) : ICollection
editor MonoTextEditor
startOffset int
endOffset int
return ICollection

Intialize() protected method

protected Intialize ( ) : void
return void

OnAdded() protected method

protected OnAdded ( Gtk.Widget widget ) : void
widget Gtk.Widget
return void

OnDestroyed() protected method

protected OnDestroyed ( ) : void
return void

OnDiffChanged() protected method

protected OnDiffChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnRemoved() protected method

protected OnRemoved ( Gtk.Widget widget ) : void
widget Gtk.Widget
return void

OnScrollEvent() protected method

protected OnScrollEvent ( Gdk.EventScroll evnt ) : bool
evnt Gdk.EventScroll
return bool

OnSetVersionControlInfo() protected method

protected OnSetVersionControlInfo ( MonoDevelop.VersionControl.Views.VersionControlDocumentInfo info ) : void
info MonoDevelop.VersionControl.Views.VersionControlDocumentInfo
return void

OnSizeAllocated() protected method

protected OnSizeAllocated ( Gdk.Rectangle allocation ) : void
allocation Gdk.Rectangle
return void

OnSizeRequested() protected method

protected OnSizeRequested ( Gtk &requisition ) : void
requisition Gtk
return void

RemoveLocal() public method

public RemoveLocal ( TextEditorData data ) : void
data Mono.TextEditor.TextEditorData
return void

SetLocal() public method

public SetLocal ( TextEditorData data ) : void
data Mono.TextEditor.TextEditorData
return void

SetVersionControlInfo() public method

public SetVersionControlInfo ( MonoDevelop.VersionControl.Views.VersionControlDocumentInfo info ) : void
info MonoDevelop.VersionControl.Views.VersionControlDocumentInfo
return void

UndoChange() protected method

protected UndoChange ( MonoTextEditor fromEditor, MonoTextEditor toEditor, Hunk hunk ) : void
fromEditor MonoTextEditor
toEditor MonoTextEditor
hunk Hunk
return void

UpdateDiff() public method

public UpdateDiff ( ) : void
return void

UpdateLocalText() public method

public UpdateLocalText ( ) : void
return void

this() public method

public this ( Gtk.Widget w ) : ContainerChild
w Gtk.Widget
return ContainerChild

Property Details

editors protected_oe property

protected MonoTextEditor[] editors
return MonoTextEditor[]

headerWidgets protected_oe property

protected Widget[],Gtk headerWidgets
return Gtk.Widget[]

info protected_oe property

protected VersionControlDocumentInfo,MonoDevelop.VersionControl.Views info
return MonoDevelop.VersionControl.Views.VersionControlDocumentInfo

viewOnly protected_oe property

protected bool viewOnly
return bool