C# Класс ICSharpCode.TextEditor.TextArea

Наследование: System.Windows.Forms.Control
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

BeginUpdate() публичный Метод

public BeginUpdate ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EndUpdate() публичный Метод

public EndUpdate ( ) : void
Результат void

ExecuteDialogKey() публичный Метод

This method executes a dialog key
public ExecuteDialogKey ( Keys keyData ) : bool
keyData Keys
Результат bool

FindMatchingBracketHighlight() публичный Метод

public FindMatchingBracketHighlight ( ) : Highlight
Результат Highlight

HandleKeyPress() защищенный Метод

This method is called on each Keypress
protected HandleKeyPress ( char ch ) : bool
ch char
Результат bool

InsertChar() публичный Метод

Inserts a single character at the caret position
public InsertChar ( char ch ) : void
ch char
Результат void

InsertLeftMargin() публичный Метод

public InsertLeftMargin ( int index, AbstractMargin margin ) : void
index int
margin AbstractMargin
Результат void

InsertString() публичный Метод

Inserts a whole string at the caret position
public InsertString ( string str ) : void
str string
Результат void

IsInputChar() защищенный Метод

protected IsInputChar ( char charCode ) : bool
charCode char
Результат bool

OnKeyPress() защищенный Метод

protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
Результат void

OnMouseDown() защищенный Метод

protected OnMouseDown ( System e ) : void
e System
Результат void

OnMouseHover() защищенный Метод

protected OnMouseHover ( EventArgs e ) : void
e System.EventArgs
Результат void

OnMouseLeave() защищенный Метод

protected OnMouseLeave ( System e ) : void
e System
Результат void

OnMouseMove() защищенный Метод

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

OnPaint() защищенный Метод

protected OnPaint ( System e ) : void
e System
Результат void

OnPaintBackground() защищенный Метод

protected OnPaintBackground ( System pevent ) : void
pevent System
Результат void

OnToolTipRequest() защищенный Метод

protected OnToolTipRequest ( ToolTipRequestEventArgs e ) : void
e ToolTipRequestEventArgs
Результат void

OptionsChanged() публичный Метод

public OptionsChanged ( ) : void
Результат void

ProcessDialogKey() защищенный Метод

protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys
Результат bool

Refresh() публичный Метод

public Refresh ( AbstractMargin margin ) : void
margin AbstractMargin
Результат void

ReplaceChar() публичный Метод

Replaces a char at the caret position
public ReplaceChar ( char ch ) : void
ch char
Результат void

RequestToolTip() защищенный Метод

protected RequestToolTip ( Point mousePos ) : void
mousePos Point
Результат void

ScrollTo() публичный Метод

public ScrollTo ( int line ) : void
line int
Результат void

ScrollToCaret() публичный Метод

public ScrollToCaret ( ) : void
Результат void

SetCaretToDesiredColumn() публичный Метод

public SetCaretToDesiredColumn ( ) : void
Результат void

SetDesiredColumn() публичный Метод

public SetDesiredColumn ( ) : void
Результат void

SimulateKeyPress() публичный Метод

public SimulateKeyPress ( char ch ) : void
ch char
Результат void

TextArea() публичный Метод

public TextArea ( TextEditorControl motherTextEditorControl, TextAreaControl motherTextAreaControl ) : System
motherTextEditorControl TextEditorControl
motherTextAreaControl TextAreaControl
Результат System

UpdateMatchingBracket() публичный Метод

public UpdateMatchingBracket ( ) : void
Результат void