C# Class TextAddin.Controls.CarretLayer

Inheritance: TextAddin.Controls.Layer
ファイルを表示 Open project: FloodProject/flood Class Usage Examples

Private Properties

Property Type Description
OnAnchorDeleted void
SetTextAnchor void
SetTextAnchor void
SetTextAnchor void
SnapCarretToPosition void
UpdateCarretLine void
UpdateCarretOffset void

Public Methods

Method Description
CarretLayer ( TextAddin.Controls.TextView parent ) : System

Protected Methods

Method 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

Method 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 method

public CarretLayer ( TextAddin.Controls.TextView parent ) : System
parent TextAddin.Controls.TextView
return System

InsertText() protected method

protected InsertText ( string text ) : void
text string
return void

OnChar() protected method

protected OnChar ( char chr ) : bool
chr char
return bool

OnKeyBackspace() protected method

protected OnKeyBackspace ( bool down ) : bool
down bool
return bool

OnKeyDelete() protected method

protected OnKeyDelete ( bool down ) : bool
down bool
return bool

OnKeyDown() protected method

protected OnKeyDown ( bool down ) : bool
down bool
return bool

OnKeyLeft() protected method

protected OnKeyLeft ( bool down ) : bool
down bool
return bool

OnKeyReturn() protected method

protected OnKeyReturn ( bool down ) : bool
down bool
return bool

OnKeyRight() protected method

protected OnKeyRight ( bool down ) : bool
down bool
return bool

OnKeyUp() protected method

protected OnKeyUp ( bool down ) : bool
down bool
return bool

OnMouseClickedLeft() protected method

protected OnMouseClickedLeft ( int x, int y, bool down ) : void
x int
y int
down bool
return void

OnMouseMoved() protected method

protected OnMouseMoved ( int x, int y, int dx, int dy ) : void
x int
y int
dx int
dy int
return void

RemoveText() protected method

protected RemoveText ( int offset, int length ) : void
offset int
length int
return void

Render() protected method

protected Render ( Flood skin ) : void
skin Flood
return void