C# Class TextAddin.Controls.CarretLayer

Inheritance: TextAddin.Controls.Layer
Afficher le fichier Open project: FloodProject/flood Class Usage Examples

Private Properties

Свойство Type Description
OnAnchorDeleted void
SetTextAnchor void
SetTextAnchor void
SetTextAnchor void
SnapCarretToPosition void
UpdateCarretLine void
UpdateCarretOffset void

Méthodes publiques

Méthode Description
CarretLayer ( TextAddin.Controls.TextView parent ) : System

Méthodes protégées

Méthode Description
InsertText ( string text ) : void
OnChar ( char chr ) : bool
OnKeyBackspace ( bool down ) : bool
OnKeyDelete ( bool down ) : bool
OnKeyDown ( bool down ) : bool
OnKeyLeft ( bool down ) : bool
OnKeyReturn ( bool down ) : bool
OnKeyRight ( bool down ) : bool
OnKeyUp ( bool down ) : bool
OnMouseClickedLeft ( int x, int y, bool down ) : void
OnMouseMoved ( int x, int y, int dx, int dy ) : void
RemoveText ( int offset, int length ) : void
Render ( Flood skin ) : void

Private Methods

Méthode Description
OnAnchorDeleted ( object obj, EventArgs args ) : void
SetTextAnchor ( TextLocation textLocation ) : void
SetTextAnchor ( int offset ) : void
SetTextAnchor ( int line, int column ) : void
SnapCarretToPosition ( int x, int y ) : void
UpdateCarretLine ( int lineOffset ) : void
UpdateCarretOffset ( int dOffset ) : void

Method Details

CarretLayer() public méthode

public CarretLayer ( TextAddin.Controls.TextView parent ) : System
parent TextAddin.Controls.TextView
Résultat System

InsertText() protected méthode

protected InsertText ( string text ) : void
text string
Résultat void

OnChar() protected méthode

protected OnChar ( char chr ) : bool
chr char
Résultat bool

OnKeyBackspace() protected méthode

protected OnKeyBackspace ( bool down ) : bool
down bool
Résultat bool

OnKeyDelete() protected méthode

protected OnKeyDelete ( bool down ) : bool
down bool
Résultat bool

OnKeyDown() protected méthode

protected OnKeyDown ( bool down ) : bool
down bool
Résultat bool

OnKeyLeft() protected méthode

protected OnKeyLeft ( bool down ) : bool
down bool
Résultat bool

OnKeyReturn() protected méthode

protected OnKeyReturn ( bool down ) : bool
down bool
Résultat bool

OnKeyRight() protected méthode

protected OnKeyRight ( bool down ) : bool
down bool
Résultat bool

OnKeyUp() protected méthode

protected OnKeyUp ( bool down ) : bool
down bool
Résultat bool

OnMouseClickedLeft() protected méthode

protected OnMouseClickedLeft ( int x, int y, bool down ) : void
x int
y int
down bool
Résultat void

OnMouseMoved() protected méthode

protected OnMouseMoved ( int x, int y, int dx, int dy ) : void
x int
y int
dx int
dy int
Résultat void

RemoveText() protected méthode

protected RemoveText ( int offset, int length ) : void
offset int
length int
Résultat void

Render() protected méthode

protected Render ( Flood skin ) : void
skin Flood
Résultat void