C# Class ICSharpCode.TextEditor.FoldMargin

This class views the line numbers and folding markers.
Inheritance: AbstractMargin
Show file Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Public Methods

Method Description
FoldMargin ( TextArea textArea ) : System
HandleMouseDown ( Point mousepos, MouseButtons mouseButtons ) : void
HandleMouseLeave ( EventArgs e ) : void
HandleMouseMove ( Point mousepos, MouseButtons mouseButtons ) : void
Paint ( Graphics g, Rectangle rect ) : void

Private Methods

Method Description
DrawFoldMarker ( Graphics g, RectangleF rectangle, bool isOpened, bool isSelected ) : void
PaintFoldMarker ( Graphics g, int lineNumber, Rectangle drawingRectangle ) : void
SelectedFoldingFrom ( List list ) : bool

Method Details

FoldMargin() public method

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

HandleMouseDown() public method

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

HandleMouseLeave() public method

public HandleMouseLeave ( EventArgs e ) : void
e System.EventArgs
return void

HandleMouseMove() public method

public HandleMouseMove ( Point mousepos, MouseButtons mouseButtons ) : void
mousepos Point
mouseButtons MouseButtons
return void

Paint() public method

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