C# Class ICSharpCode.TextEditor.TextAreaControl

Inheritance: System.Windows.Forms.Panel
ファイルを表示 Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Private Properties

Property Type Description
AdjustScrollBarsClearCache void
AdjustScrollBarsOnDocumentChange void
DocumentTextContentChanged void
DocumentUpdateCommitted void
HScrollBarValueChanged void
VScrollBarValueChanged void

Public Methods

Method Description
AdjustScrollBars ( ) : void
CenterViewOn ( int line, int treshold ) : void

Scroll so that the specified line is centered.

HandleMouseWheel ( MouseEventArgs e ) : void
JumpTo ( int line ) : void
JumpTo ( int line, int column ) : void
OptionsChanged ( ) : void
ResizeTextArea ( ) : void
ScrollTo ( int line ) : void

Ensure that line is visible.

ScrollTo ( int line, int column ) : void
ScrollToCaret ( ) : void
SetScrollBarBounds ( ) : void
TextAreaControl ( TextEditorControl motherTextEditorControl ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnEnter ( EventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnResize ( System e ) : void

Private Methods

Method Description
AdjustScrollBarsClearCache ( ) : void
AdjustScrollBarsOnDocumentChange ( object sender, ICSharpCode.TextEditor.Document.DocumentEventArgs e ) : void
DocumentTextContentChanged ( object sender, EventArgs e ) : void
DocumentUpdateCommitted ( object sender, EventArgs e ) : void
HScrollBarValueChanged ( object sender, EventArgs e ) : void
VScrollBarValueChanged ( object sender, EventArgs e ) : void

Method Details

AdjustScrollBars() public method

public AdjustScrollBars ( ) : void
return void

CenterViewOn() public method

Scroll so that the specified line is centered.
public CenterViewOn ( int line, int treshold ) : void
line int Line to center view on
treshold int If this action would cause scrolling by less than or equal to /// lines in any direction, don't scroll. /// Use -1 to always center the view.
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

HandleMouseWheel() public method

public HandleMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

JumpTo() public method

public JumpTo ( int line ) : void
line int
return void

JumpTo() public method

public JumpTo ( int line, int column ) : void
line int
column int
return void

OnEnter() protected method

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

OnMouseWheel() protected method

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

OnResize() protected method

protected OnResize ( System e ) : void
e System
return void

OptionsChanged() public method

public OptionsChanged ( ) : void
return void

ResizeTextArea() public method

public ResizeTextArea ( ) : void
return void

ScrollTo() public method

Ensure that line is visible.
public ScrollTo ( int line ) : void
line int
return void

ScrollTo() public method

public ScrollTo ( int line, int column ) : void
line int
column int
return void

ScrollToCaret() public method

public ScrollToCaret ( ) : void
return void

SetScrollBarBounds() public method

public SetScrollBarBounds ( ) : void
return void

TextAreaControl() public method

public TextAreaControl ( TextEditorControl motherTextEditorControl ) : System
motherTextEditorControl TextEditorControl
return System