Свойство | Тип | Описание | |
---|---|---|---|
Engine | ScriptEngine | ||
Scope | ScriptScope |
Метод | Описание | |
---|---|---|
Clear ( ) : void |
Clear the current text in the IronTextBox.
|
|
Convert_StringCollectiontoArrayList ( |
Returns aa ArrayList from a StringCollection
|
|
ExecuteFile ( string pyfile ) : object |
Executes the Python file within the IronTextBox environment. A nice way to quickly get a Python module in CLI to test or use.
|
|
ExecuteSingleStatement ( string pycode ) : object |
Executes the code in SourceCodeKind.SingleStatement to fire the command event Use Evaluate if you do not wish to fire the command event
|
|
GetCommandHistory ( ) : string[] |
Returns the string array of the command history.
|
|
GetHelpText ( ) : string |
Displays information about IronTextBox and user's IronPython version.
|
|
GetTextAtPrompt ( ) : string |
Return the text at the prompt.
|
|
ImportPaths ( string arg ) : void |
ImportPaths
|
|
IronTextBoxControl ( ) : System |
IronTextBoxControl
|
|
IsSingleCommentLine ( string line ) : bool |
|
|
RewritePyFiletoSB ( StringBuilder &sbCode ) : void |
Opens a Python file and reads line by line into a StringBuilder.
|
|
Runfile ( ) : void |
Run a .Py file. Calls OpenFileDialog to PythonEngine.RunFile.
|
|
SetTextAtPrompt ( string text ) : void | ||
SimEnter ( ) : void |
Simulate the Enter KeyPress event.
|
|
WalkPythonFile ( ) : void |
Opens a FolderBrowserDialog to load a Python file to read it line by line into IronTextBox.
|
|
WalkPythonFile ( string fullpathfilename ) : void |
Opens a Python files and reads line by line into IronTextBox.
|
|
WriteText ( string text ) : void |
Send text to the IronTextBox.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnCommandEntered ( string command ) : void |
Creates new EventCommandEntered event.
|
|
OnCompletionRequested ( |
Метод | Описание | |
---|---|---|
CompletionCallback ( string uncompleted ) : string |
The child control "ironTextBox" calls this, whenever a TAB key is pressed. We just relay this information via the standard event mechanism to listeners.
|
|
Evaluate ( string pycode ) : object |
Executes the code in SourceCodeKind.Expression not to fire the command event Use ExecuteSingleStatement if you do wish to fire the command event
|
|
FireCommandEntered ( string command ) : void |
Run the command.
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
IronTextBoxControlCommandEntered ( object sender, |
IronTextBoxControlCommandEntered
|
public Convert_StringCollectiontoArrayList ( |
||
StringColin | Incoming StringCollection. | |
Результат |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public ExecuteFile ( string pyfile ) : object | ||
pyfile | string | Python file (.py) |
Результат | object |
public ExecuteSingleStatement ( string pycode ) : object | ||
pycode | string | python statement |
Результат | object |
public IsSingleCommentLine ( string line ) : bool | ||
line | string | |
Результат | bool |
protected OnCommandEntered ( string command ) : void | ||
command | string | Command line string. |
Результат | void |
protected OnCompletionRequested ( |
||
args | ||
Результат | void |
public RewritePyFiletoSB ( StringBuilder &sbCode ) : void | ||
sbCode | StringBuilder | out StringBuilder |
Результат | void |
public SetTextAtPrompt ( string text ) : void | ||
text | string | |
Результат | void |
public WalkPythonFile ( string fullpathfilename ) : void | ||
fullpathfilename | string | fullpathfilename |
Результат | void |