|
wxMaxima
|
Public Types | |
| enum | AppendOpt { NewLine = 1 , BigSkip = 2 , PromptToolTip = 4 , DefaultOpt = NewLine | BigSkip } |
| Options controlling how an appended cell is laid out. A bit set. | |
Public Member Functions | |
| MaximaOutputAppender (wxMaxima &wxm) | |
| TextCell * | ConsoleAppend (wxString s, CellType type) |
Append one line s of the given type to the console, dispatching on the type (plain text goes verbatim, prompts/other run through the parser). | |
| void | ConsoleAppend (wxXmlDocument xml, CellType type, const wxString &userLabel={}) |
| Append a parsed 2D-maths XML fragment to the console. | |
| void | DoConsoleAppend (wxString s, CellType type, AppendOpt opts=DefaultOpt, const wxString &userLabel={}) |
Parse s as MathML-like XML into a cell and insert it. | |
| TextCell * | DoRawConsoleAppend (wxString s, CellType type, AppendOpt opts={}) |
| Append one or more lines of ordinary unicode text to the console. | |
Append one line s of the given type to the console, dispatching on the type (plain text goes verbatim, prompts/other run through the parser).
ConsoleAppend adds a new line s of type to the console window.
Dispatches on the cell type: plain-text types (default output, errors, warnings, text, ASCII maths) go to DoRawConsoleAppend verbatim; prompts and everything else are wrapped in ... and run through the XML parser via DoConsoleAppend. Also enforces the max-output-cells-per-command limit and strips a trailing </PROMPT> tag.
| TextCell * MaximaOutputAppender::DoRawConsoleAppend | ( | wxString | s, |
| CellType | type, | ||
| AppendOpt | opts = {} |
||
| ) |
Append one or more lines of ordinary unicode text to the console.