C# Class ICSharpCode.TextEditor.IconBarMargin

This class views the line numbers and folding markers.
Inheritance: AbstractMargin
Show file Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
DrawArrow ( Graphics g, int y ) : void
DrawBookmark ( Graphics g, int y, bool isEnabled ) : void
DrawBreakpoint ( Graphics g, int y, bool isEnabled, bool willBeHit ) : void
HandleMouseDown ( Point mousePos, MouseButtons mouseButtons ) : void
IconBarMargin ( TextArea textArea ) : System
Paint ( Graphics g, Rectangle rect ) : void

Private Methods

Method Description
CreateArrowGraphicsPath ( Rectangle r ) : GraphicsPath
CreateRoundRectGraphicsPath ( Rectangle r ) : GraphicsPath
DrawArrow ( Graphics g, Pen p, Rectangle r ) : void
DrawRoundRect ( Graphics g, Pen p, Rectangle r ) : void
FillArrow ( Graphics g, Brush b, Rectangle r ) : void
FillRoundRect ( Graphics g, Brush b, Rectangle r ) : void
IsLineInsideRegion ( int top, int bottom, int regionTop, int regionBottom ) : bool

Method Details

DrawArrow() public method

public DrawArrow ( Graphics g, int y ) : void
g System.Drawing.Graphics
y int
return void

DrawBookmark() public method

public DrawBookmark ( Graphics g, int y, bool isEnabled ) : void
g System.Drawing.Graphics
y int
isEnabled bool
return void

DrawBreakpoint() public method

public DrawBreakpoint ( Graphics g, int y, bool isEnabled, bool willBeHit ) : void
g System.Drawing.Graphics
y int
isEnabled bool
willBeHit bool
return void

HandleMouseDown() public method

public HandleMouseDown ( Point mousePos, MouseButtons mouseButtons ) : void
mousePos Point
mouseButtons MouseButtons
return void

IconBarMargin() public method

public IconBarMargin ( TextArea textArea ) : System
textArea TextArea
return System

Paint() public method

public Paint ( Graphics g, Rectangle rect ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
return void