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

Inheritance: System.Windows.Forms.Control
显示文件 Open project: netide/netide

Public Methods

Method Description
DiffEditorControl ( ) : System
SetMarkers ( List markers, int visibleLines ) : void
UpdateVisibleRange ( int offset, int visible, int lineHeight ) : void

Protected Methods

Method Description
OnButtonClick ( DiffEditorButtonEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Private Methods

Method Description
AddButton ( MarkerButton buttons, DiffEditorButtonType type, IDiffMarker editMarker ) : void
FindButton ( Point location ) : MarkerButton>.Tuple

Method Details

DiffEditorControl() public method

public DiffEditorControl ( ) : System
return System

OnButtonClick() protected method

protected OnButtonClick ( DiffEditorButtonEventArgs e ) : void
e DiffEditorButtonEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

SetMarkers() public method

public SetMarkers ( List markers, int visibleLines ) : void
markers List
visibleLines int
return void

UpdateVisibleRange() public method

public UpdateVisibleRange ( int offset, int visible, int lineHeight ) : void
offset int
visible int
lineHeight int
return void