C# Class FC3Editor.UI.NomadCodeBox

Inheritance: NomadTextBox
显示文件 Open project: Azerothian/fc3editor Class Usage Examples

Public Methods

Method Description
ClearIcons ( ) : void
GetIcon ( int line ) : NomadCodeBox.IIcon
HideCodeHelper ( ) : void
InitFunctions ( ) : void
SetIcon ( int line, NomadCodeBox icon ) : void
ShowCodeHelper ( ) : void

Protected Methods

Method Description
DrawTextFormat ( Graphics g, IntPtr hFont, NomadTextBox position, int x, int y, string s ) : void
GetToken ( string s, int index ) : string
OnCaretPositionChanged ( ) : void
OnContentChanged ( NomadTextBox oldRef, NomadTextBox newRef ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnPaintMargin ( PaintEventArgs e ) : void

Private Methods

Method Description
NomadCodeBox ( ) : System

Method Details

ClearIcons() public method

public ClearIcons ( ) : void
return void

DrawTextFormat() protected method

protected DrawTextFormat ( Graphics g, IntPtr hFont, NomadTextBox position, int x, int y, string s ) : void
g System.Drawing.Graphics
hFont System.IntPtr
position NomadTextBox
x int
y int
s string
return void

GetIcon() public method

public GetIcon ( int line ) : NomadCodeBox.IIcon
line int
return NomadCodeBox.IIcon

GetToken() protected method

protected GetToken ( string s, int index ) : string
s string
index int
return string

HideCodeHelper() public method

public HideCodeHelper ( ) : void
return void

InitFunctions() public static method

public static InitFunctions ( ) : void
return void

OnCaretPositionChanged() protected method

protected OnCaretPositionChanged ( ) : void
return void

OnContentChanged() protected method

protected OnContentChanged ( NomadTextBox oldRef, NomadTextBox newRef ) : void
oldRef NomadTextBox
newRef NomadTextBox
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnKeyPress() protected method

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

OnPaintMargin() protected method

protected OnPaintMargin ( PaintEventArgs e ) : void
e PaintEventArgs
return void

SetIcon() public method

public SetIcon ( int line, NomadCodeBox icon ) : void
line int
icon NomadCodeBox
return void

ShowCodeHelper() public method

public ShowCodeHelper ( ) : void
return void