C# Class ICSharpCode.TextEditor.TextArea

Inheritance: System.Windows.Forms.Control
显示文件 Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Private Properties

Property Type Description
CloseToolTip void
DocumentFoldingsChanged void
GenerateWhitespaceString string
InvalidateLines void
IsReadOnly bool
IsReadOnly bool
RaiseMouseMove void
SearchMatchingBracket void
SetToolTip void
ShowHiddenCursor void
TextContentChanged void
UpdateLine void
UpdateLine void
UpdateLineToEnd void
UpdateLines void
UpdateLines void
UpdateToEnd void

Public Methods

Method Description
BeginUpdate ( ) : void
EndUpdate ( ) : void
ExecuteDialogKey ( Keys keyData ) : bool

This method executes a dialog key

FindMatchingBracketHighlight ( ) : Highlight
InsertChar ( char ch ) : void Inserts a single character at the caret position
InsertLeftMargin ( int index, AbstractMargin margin ) : void
InsertString ( string str ) : void Inserts a whole string at the caret position
OptionsChanged ( ) : void
Refresh ( AbstractMargin margin ) : void
ReplaceChar ( char ch ) : void Replaces a char at the caret position
ScrollTo ( int line ) : void
ScrollToCaret ( ) : void
SetCaretToDesiredColumn ( ) : void
SetDesiredColumn ( ) : void
SimulateKeyPress ( char ch ) : void
TextArea ( TextEditorControl motherTextEditorControl, TextAreaControl motherTextAreaControl ) : System
UpdateMatchingBracket ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
HandleKeyPress ( char ch ) : bool

This method is called on each Keypress

IsInputChar ( char charCode ) : bool
OnKeyPress ( KeyPressEventArgs e ) : void
OnMouseDown ( System e ) : void
OnMouseHover ( EventArgs e ) : void
OnMouseLeave ( System e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnPaint ( System e ) : void
OnPaintBackground ( System pevent ) : void
OnToolTipRequest ( ToolTipRequestEventArgs e ) : void
ProcessDialogKey ( Keys keyData ) : bool
RequestToolTip ( Point mousePos ) : void

Private Methods

Method Description
CloseToolTip ( ) : void
DocumentFoldingsChanged ( object sender, EventArgs e ) : void
GenerateWhitespaceString ( int length ) : string
InvalidateLines ( int xPos, int lineBegin, int lineEnd ) : void
IsReadOnly ( int offset ) : bool
IsReadOnly ( int offset, int length ) : bool
RaiseMouseMove ( MouseEventArgs e ) : void
SearchMatchingBracket ( object sender, EventArgs e ) : void
SetToolTip ( string text, int lineNumber ) : void
ShowHiddenCursor ( bool forceShow ) : void

Shows the mouse cursor if it has been hidden.

TextContentChanged ( object sender, EventArgs e ) : void
UpdateLine ( int line ) : void
UpdateLine ( int line, int begin, int end ) : void
UpdateLineToEnd ( int lineNr, int xStart ) : void
UpdateLines ( int lineBegin, int lineEnd ) : void
UpdateLines ( int xPos, int lineBegin, int lineEnd ) : void
UpdateToEnd ( int lineBegin ) : void

Method Details

BeginUpdate() public method

public BeginUpdate ( ) : void
return void

Dispose() protected method

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

EndUpdate() public method

public EndUpdate ( ) : void
return void

ExecuteDialogKey() public method

This method executes a dialog key
public ExecuteDialogKey ( Keys keyData ) : bool
keyData Keys
return bool

FindMatchingBracketHighlight() public method

public FindMatchingBracketHighlight ( ) : Highlight
return Highlight

HandleKeyPress() protected method

This method is called on each Keypress
protected HandleKeyPress ( char ch ) : bool
ch char
return bool

InsertChar() public method

Inserts a single character at the caret position
public InsertChar ( char ch ) : void
ch char
return void

InsertLeftMargin() public method

public InsertLeftMargin ( int index, AbstractMargin margin ) : void
index int
margin AbstractMargin
return void

InsertString() public method

Inserts a whole string at the caret position
public InsertString ( string str ) : void
str string
return void

IsInputChar() protected method

protected IsInputChar ( char charCode ) : bool
charCode char
return bool

OnKeyPress() protected method

protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
return void

OnMouseDown() protected method

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

OnMouseHover() protected method

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

OnMouseLeave() protected method

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

OnMouseMove() protected method

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

OnPaint() protected method

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

OnPaintBackground() protected method

protected OnPaintBackground ( System pevent ) : void
pevent System
return void

OnToolTipRequest() protected method

protected OnToolTipRequest ( ToolTipRequestEventArgs e ) : void
e ToolTipRequestEventArgs
return void

OptionsChanged() public method

public OptionsChanged ( ) : void
return void

ProcessDialogKey() protected method

protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys
return bool

Refresh() public method

public Refresh ( AbstractMargin margin ) : void
margin AbstractMargin
return void

ReplaceChar() public method

Replaces a char at the caret position
public ReplaceChar ( char ch ) : void
ch char
return void

RequestToolTip() protected method

protected RequestToolTip ( Point mousePos ) : void
mousePos Point
return void

ScrollTo() public method

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

ScrollToCaret() public method

public ScrollToCaret ( ) : void
return void

SetCaretToDesiredColumn() public method

public SetCaretToDesiredColumn ( ) : void
return void

SetDesiredColumn() public method

public SetDesiredColumn ( ) : void
return void

SimulateKeyPress() public method

public SimulateKeyPress ( char ch ) : void
ch char
return void

TextArea() public method

public TextArea ( TextEditorControl motherTextEditorControl, TextAreaControl motherTextAreaControl ) : System
motherTextEditorControl TextEditorControl
motherTextAreaControl TextAreaControl
return System

UpdateMatchingBracket() public method

public UpdateMatchingBracket ( ) : void
return void