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

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

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

Метод Описание
Caret ( TextArea textArea ) : System
Dispose ( ) : void
RecreateCaret ( ) : void
UpdateCaretPosition ( ) : void
ValidateCaretPos ( ) : void If the caret position is outside the document text bounds it is set to the correct position by calling ValidateCaretPos.
ValidatePosition ( TextLocation pos ) : TextLocation

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

Метод Описание
OnCaretModeChanged ( EventArgs e ) : void
OnPositionChanged ( EventArgs e ) : void

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

Метод Описание
CreateCaret ( ) : void
DisposeCaret ( ) : void
FirePositionChangedAfterUpdateEnd ( object sender, EventArgs e ) : void
GotFocus ( object sender, EventArgs e ) : void
Log ( string text ) : void
LostFocus ( object sender, EventArgs e ) : void
OnEndUpdate ( ) : void
PaintCaret ( Graphics g ) : void
PaintCaretLine ( Graphics g ) : void

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

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

public Caret ( TextArea textArea ) : System
textArea TextArea
Результат System

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

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

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

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

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

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

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

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

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

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

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

If the caret position is outside the document text bounds it is set to the correct position by calling ValidateCaretPos.
public ValidateCaretPos ( ) : void
Результат void

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

public ValidatePosition ( TextLocation pos ) : TextLocation
pos TextLocation
Результат TextLocation