C# Class Fractrace.FormulaEditor

Inheritance: System.Windows.Forms.UserControl
显示文件 Open project: trafassel/Gestaltlupe Class Usage Examples

Protected Properties

Property Type Description
mErrorText string

Public Methods

Method Description
AddError ( string errorText, int line, int column ) : void

Fehler beim Übersetzen des Quellcodes wird angezeigt.

Format ( ) : void

Format

FormulaEditor ( ) : System

Constructer.

Init ( ) : void

Initialize text.

Protected Methods

Method Description
SelectLine ( int line ) : void

Given line is marked red.

ViewError ( string errorText ) : void

Show error as text and mark error line red.

ViewErrorInternal ( ) : void

Show error as text in panel1.

Private Methods

Method Description
Indent ( int indent ) : string
btnShrink_Click ( object sender, EventArgs e ) : void

Close error view.

tbSource_TextChanged ( object sender, EventArgs e ) : void

Is called, each time, the text has changed. Set "Intern.Formula.Source to source text.

Method Details

AddError() public static method

Fehler beim Übersetzen des Quellcodes wird angezeigt.
public static AddError ( string errorText, int line, int column ) : void
errorText string
line int
column int
return void

Format() public method

Format
public Format ( ) : void
return void

FormulaEditor() public method

Constructer.
public FormulaEditor ( ) : System
return System

Init() public method

Initialize text.
public Init ( ) : void
return void

SelectLine() protected method

Given line is marked red.
protected SelectLine ( int line ) : void
line int
return void

ViewError() protected method

Show error as text and mark error line red.
protected ViewError ( string errorText ) : void
errorText string
return void

ViewErrorInternal() protected method

Show error as text in panel1.
protected ViewErrorInternal ( ) : void
return void

Property Details

mErrorText protected_oe property

protected string mErrorText
return string