Method | Description | |
---|---|---|
IronPythonConsoleControl ( ) : System | ||
ReadLine ( int autoIndentSize ) : string |
Blocks until the user has entered a line in the console. Returns null when the user enters CTRL+Z.
|
|
Write ( string text, Style style ) : void |
Write some text to the output. We need to take care to remember the lines, so we can reproduce the text later on. For now, we just ignore "style".
|
|
WriteLine ( ) : void | ||
WriteLine ( string text, Style style ) : void |
Method | Description | |
---|---|---|
OnKeyPress ( |
||
OnPaint ( PaintEventArgs e ) : void |
Update the output to reflect the text written so far. First, we figure out what the whole text looks like, then which portion we can display.
|
protected OnKeyPress ( |
||
e | ||
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
public ReadLine ( int autoIndentSize ) : string | ||
autoIndentSize | int | |
return | string |
public Write ( string text, Style style ) : void | ||
text | string | |
style | Style | |
return | void |
public WriteLine ( string text, Style style ) : void | ||
text | string | |
style | Style | |
return | void |