NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
The terminal class for the GUI. It's a specialisation of the GenericTerminal. More...
#include <terminal.hpp>
Public Types | |
enum | BOLDSTYLE { DEFAULT = -1 , COLOR = 0 , OVERSTRIKE = 1 , FONT = 2 } |
Public Types inherited from GenericTerminal | |
enum | { BOLD =0x1 , BLINK =0x2 , UNDERLINE =0x4 , INVERSE =0x8 , NOEOLWRAP =0x10 , CURSORAPPMODE =0x20 , CURSORRELATIVE =0x40 , NEWLINE =0x80 , INSERT =0x100 , KEYAPPMODE =0x200 , DEFERUPDATE =0x400 , DESTRUCTBS =0x800 , TEXTONLY =0x1000 , LOCALECHO =0x2000 , CURSORINVISIBLE =0x4000 , PC =0x8000 , SELECTED =0x8000 } |
enum | { RESETTAB =0x1 , RESETCURSOR =0x2 } |
Public Member Functions | |
void | SetParent (NumeReWindow *frame) |
int | getTextHeight () |
NumeReTerminal (wxWindow *parent, wxWindowID id, Options *_option, const wxString &sPath, const wxPoint &pos=wxDefaultPosition, int width=80, int height=24, const wxString &name="wxTerm") | |
Terminal constructor. More... | |
virtual | ~NumeReTerminal () |
Terminal destructor. More... | |
void | pass_command (const std::string &command, bool isEvent) |
Pass the external command to the kernel without printing it to the console. More... | |
NumeRe::Table | getTable (const std::string &sTableName) |
This function will return the named table from the kernel to be shown in a GUI window. More... | |
NumeRe::Container< std::string > | getStringTable (const std::string &sStringTableName) |
This member function will return the named table containing strings. More... | |
Settings | getKernelSettings () |
This will return a copy of the internal settings object of the kernel. More... | |
NumeReKernel & | getKernel () |
void | setKernelSettings (const Settings &) |
This will pass the new kernel settings to the kernel. More... | |
void | EndKernelTask () |
This function forces the thread to terminate so that the application may be shut down. More... | |
void | CancelCalculation () |
Inform the kernel to stop the current calculation. Used to handle the ESC key press. More... | |
void | StartKernelTask () |
This member function will start the managed, second thread, in which the kernel will operate. More... | |
void | OnThreadUpdate (wxThreadEvent &event) |
This function is the thread update event handler member function. Here are all returned messages from the kernel and its notifications processed. More... | |
void | OnClose (wxCloseEvent &event) |
This function forces the thread to terminate immediately. Should only occur in situations, where we face a crash. More... | |
std::vector< std::string > | getPathSettings () |
Returns the standard paths as a STL vector. More... | |
const std::vector< Package > & | getInstalledPackages () |
Returns the installed plugins as a STL vector. More... | |
std::map< std::string, std::string > | getMenuMap () |
Returns the menu map of the installed plugins as a STL map. More... | |
void | updatePackage (const std::string &package) |
Updates an installed package with new information after the user created a package with the package creator dialog. More... | |
void | passEditedTable (NumeRe::Table _table) |
Passes a table (as a container) to the kernel. More... | |
void | cancelTableEdit () |
void | addBreakpoint (const std::string &_sFilename, size_t nLine) |
This member function adds a breakpoint to the passed file at the indicated line number. More... | |
void | removeBreakpoint (const std::string &_sFilename, size_t nLine) |
This member function removes a breakpoint from the passed file at the indicated line number. More... | |
void | clearBreakpoints (const std::string &_sFilename) |
This member function removes all breakpoints from the passed file. More... | |
void | continueDebug () |
void | stepDebug () |
void | stepOverDebug () |
void | leaveDebug () |
std::string | getDocumentation (const std::string &sCommand) |
Gets the desired documentation article as a HTML string. More... | |
std::vector< std::string > | getDocIndex () |
Gets the contents of the documentation index as a vector. More... | |
std::map< std::string, std::string > | getPluginLanguageStrings () |
This will return the language strings for the plugins used by the language class for filling the symbols tree. More... | |
std::map< std::string, std::string > | getFunctionLanguageStrings () |
This will return the language strings for the custom defined functions used by the language class for filling the symbols tree. More... | |
void | UpdateLibrary () |
NumeReVariables | getVariableList () |
This will return the variable list from the kernel to be shown in the variable viewer. More... | |
bool | SetFont (const wxFont &font) |
void | GetDefColors (wxColor colors[16], NumeReTerminal::BOLDSTYLE boldStyle=NumeReTerminal::DEFAULT) |
int | GetCursorBlinkRate () |
void | SetCursorBlinkRate (int rate) |
void | copyText () |
Implements copy to clip board. More... | |
void | pasteText () |
Implements paste from clip board. More... | |
void | cutText () |
Implements copy to clip board and deleting the selection. More... | |
virtual void | DrawText (int fg_color, int bg_color, int flags, int x, int y, const std::string &sText) override |
virtual void | DrawCursor (int fg_color, int bg_color, int flags, int x, int y, unsigned char c) override |
virtual void | Calltip (int x, int y, NumeRe::CallTip &_cTip) override |
Function reimplementation to display a tooltip requested by the GenericTerminal. More... | |
virtual void | CalltipCancel () override |
Function reimplementation to close the previously opened calltip. More... | |
virtual void | ClearChars (int bg_color, int x, int y, int w, int h) override |
virtual void | ProcessInput (int len, const std::string &sData) override |
Processes text received from the keybord or clipboard. More... | |
virtual void | ProcessOutput (int len, const std::string &sData) override |
Processes text received from the kernel. More... | |
void | ScrollTerminal (int numLines, bool scrollUp=true) |
void | ClearSelection () |
bool | HasSelection () |
wxString | GetSelection () |
bool | IsWorking () |
void | UpdateSize () |
void | UpdateColors () |
This member function sets the new colors to the internal pen definitions. More... | |
virtual void | ModeChange (int state) override |
virtual void | Bell () override |
virtual void | ResizeTerminal (int width, int height) override |
virtual void | UpdateRemoteSize (int width, int height) |
Fallback for the virtual definition. More... | |
void | clearTerminal () |
This member function clears the terminal. More... | |
int | GetTermWidth () |
int | GetTermHeight () |
Public Member Functions inherited from GenericTerminal | |
GenericTerminal (int w, int h) | |
Constructor. More... | |
virtual | ~GenericTerminal () |
Empty destructor. More... | |
NumeReSyntax * | getSyntax () |
NumeRe::CallTipProvider * | getProvider () |
virtual void | ProcessInput (int len, const std::string &sData) |
virtual void | ProcessOutput (int len, const std::string &sData) |
Processes output returned from the kernel and hands it over to the internal buffer. More... | |
virtual void | ResizeTerminal (int _width, int _height) |
int | Width () const |
int | Height () const |
virtual void | Update () |
Simple wrapper around update_changes() More... | |
virtual void | Reset () |
Simple wrapper around reset(). More... | |
bool | Scroll (int numLines, bool scrollUp) |
int | GetScrollHeight () |
int | GetScrollPosition () |
Returns the current scroll position. More... | |
TextManager * | GetTM () |
Get a pointer to the internal text buffer. More... | |
void | SetTerminalHistory (int size) |
Set the terminal buffer size (not the length of the input history). The length of the history (i.e. the terminal length) is determined by the width of the terminal and the number of calculated line breaks. More... | |
bool | IsScrolledUp () |
Determine, whether the terminal is scrolled up. More... | |
int | GetMode () const |
void | SetMode (int mode) |
void | set_mode_flag (int flag) |
Sets a mode flag (only used to make the cursor invisble). More... | |
void | clear_mode_flag (int flag) |
Clears a mode flag (mainly used to make the cursor visible again). More... | |
virtual void | DrawText (int fg_color, int bg_color, int flags, int x, int y, const std::string &sText)=0 |
virtual void | DrawCursor (int fg_color, int bg_color, int flags, int x, int y, unsigned char c)=0 |
virtual void | Calltip (int x, int y, NumeRe::CallTip &_cTip) |
virtual void | CalltipCancel () |
virtual void | ClearChars (int bg_color, int x, int y, int w, int h) |
virtual void | SendBack (int len, char *data) |
virtual void | SendBack (char *data) |
virtual void | ModeChange (int state) |
virtual void | Bell () |
virtual int | IsSelected (int x, int y) |
virtual void | Select (int x, int y, int select) |
virtual unsigned char | GetChar (int x, int y) |
Gets the character at the selected location. More... | |
std::string | get_selected_text () |
Gets the selected text (if any). More... | |
Protected Member Functions | |
virtual wxThread::ExitCode | Entry () |
This is the main thread function and will be called repeatedly from the wxWidgets library. More... | |
Protected Member Functions inherited from GenericTerminal | |
void | move_cursor_editable_area (int x, int y) |
Moves the cursor to a location, if this location is editable. More... | |
void | update_changes () |
void | normal_input () |
void | normal_output () |
This member function is for printing the kernel's output to the console. More... | |
void | resetAutoComp (int mode) |
Reset the current autocompletion list and the corresponding variables. More... | |
std::string | getProcNameSpace () |
This member function evalutes the procedure signature and returns its namespace. Will only be called from GTerm::tab(). More... | |
void | cr () |
Insert a carriage return. More... | |
void | lf () |
Insert a line feed. More... | |
void | ff () |
Insert a form feed (not used). More... | |
void | bell () |
Perform a bell sound (not used). More... | |
void | tab () |
Evaluate the tab key (do not insert a tab character but try to autocomplete the current input). More... | |
bool | bs () |
Perform a backspace operation. More... | |
bool | del () |
Perform a delete key operation. More... | |
bool | delSelected () |
Delete a selected block. More... | |
void | reset () |
Resets the terminal, so that it starts with an empty buffer. More... | |
bool | cursor_left () |
Moves the cursor to the left. More... | |
bool | cursor_down () |
Either moves the cursor down or performs a history jump. More... | |
bool | cursor_right () |
Moves the cursor to the right. More... | |
bool | cursor_up () |
Either moves the cursor up or performs a history jump. More... | |
bool | ctrl_left () |
Moves the cursor one word to the left. More... | |
bool | ctrl_right () |
Moves the cursor one word to the right. More... | |
bool | home () |
Moves the cursor to the leftmost position in the current line. More... | |
bool | end () |
Moves the cursor to the rightmost position in the current line. More... | |
bool | front () |
Moves the cursor to the leftmost position in the whole input. More... | |
bool | back () |
Moves the cursor to the rightmost position in the whole input. More... | |
void | erase_line () |
Erases the current line in the internal buffer. More... | |
void | erase_usercontent_line () |
Erases alle user-written contents from the current line. More... | |
Protected Attributes | |
NumeReKernel | _kernel |
wxCriticalSection | m_kernelCS |
NumeReKernel::KernelStatus | m_KernelStatus |
bool | m_bCommandAvailable |
bool | m_bTableEditAvailable |
bool | m_bTableEditCanceled |
bool | m_isBusy |
int | m_nDebuggerCode |
std::string | m_sCommandLine |
std::string | m_sAnswer |
Protected Attributes inherited from GenericTerminal | |
int | doing_update |
int | nTabStartPos |
int | nCursorUpDownStartPos |
std::string | sAutoCompWordStart |
std::string | sAutoCompList |
bool | m_useSmartSense |
Private Member Functions | |
void | pipe_command (const std::string &sCommand) |
Pass the entered command line to the kernel. More... | |
bool | filterKeyCodes (int keyCode, bool ctrlDown) |
This private member function filters special key codes and handles them. More... | |
void | scrollToInput () |
This private member function scrolls the terminal all the way down. More... | |
void | MarkSelection (bool bRectangular=false) |
void | DoDrawCursor (int fg_color, int bg_color, int flags, int x, int y, unsigned char c) |
void | OnChar (wxKeyEvent &event) |
void | OnKeyDown (wxKeyEvent &event) |
void | OnPaint (wxPaintEvent &event) |
void | OnLeftDown (wxMouseEvent &event) |
void | OnLoseMouseCapture (wxMouseCaptureLostEvent &event) |
This member function handles the "MouseCaptureLostEvent" and releases the mouse. More... | |
void | OnLeftUp (wxMouseEvent &event) |
void | OnMouseMove (wxMouseEvent &event) |
void | OnEnter (wxMouseEvent &event) |
This member function handles the "Mouse Enter" event. More... | |
void | OnTimer (wxTimerEvent &event) |
void | OnActivate (wxActivateEvent &event) |
void | OnSize (wxSizeEvent &event) |
void | OnGainFocus (wxFocusEvent &event) |
void | OnLoseFocus (wxFocusEvent &event) |
void | Busy () |
Inform the GUI that the kernel is currently busy. More... | |
void | Ready () |
Inform the GUI that the kernel is ready for calculation. More... | |
Private Attributes | |
int | m_charWidth |
int | m_charHeight |
int | m_init |
int | m_width |
int | m_height |
int | m_selx1 |
int | m_sely1 |
int | m_selx2 |
int | m_sely2 |
int | m_curX |
int | m_curY |
int | m_curFG |
int | m_curBG |
int | m_curFlags |
int | m_curState |
int | m_curBlinkRate |
int | m_scrollBarWidth |
int | m_charsInLine |
int | m_linesDisplayed |
TerminalCallTip * | m_callTip |
unsigned char | m_curChar |
bool | m_selecting |
bool | m_marking |
bool | m_inUpdateSize |
bool | m_isActive |
bool | m_updateProcedureLibrary |
wxColour | m_color_defs [16] |
wxColour * | m_colors |
wxPen | m_colorPen_defs [16] |
wxPen * | m_colorPens |
wxFont | m_normalFont |
wxFont | m_underlinedFont |
wxFont | m_boldFont |
wxFont | m_boldUnderlinedFont |
wxDC * | m_curDC |
wxMemoryDC | m_memDC |
wxBitmap * | m_bitmap |
wxTimer | m_timer |
NumeReWindow * | m_wxParent |
Options * | m_options |
BOLDSTYLE | m_boldStyle |
Friends | |
class | NumeReKernel |
class | DebugViewer |
Additional Inherited Members | |
Public Attributes inherited from GenericTerminal | |
enum GenericTerminal:: { ... } | MODES |
The terminal class for the GUI. It's a specialisation of the GenericTerminal.
Definition at line 45 of file terminal.hpp.
Enumerator | |
---|---|
DEFAULT | |
COLOR | |
OVERSTRIKE | |
FONT |
Definition at line 117 of file terminal.hpp.
NumeReTerminal::NumeReTerminal | ( | wxWindow * | parent, |
wxWindowID | id, | ||
Options * | _option, | ||
const wxString & | sPath, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
int | width = 80 , |
||
int | height = 24 , |
||
const wxString & | name = "wxTerm" |
||
) |
Terminal constructor.
parent | wxWindow* |
id | wxWindowID |
_option | Options* |
sPath | const wxString& |
pos | const wxPoint& |
width | int |
height | int |
name | const wxString& |
Definition at line 85 of file terminal.cpp.
References CURSOR_BLINK_DEFAULT_TIMEOUT, NumeReKernel::NUMERE_DONE, OnThreadUpdate(), SETTING_B_SMARTSENSE, and SETTING_S_TERMINALFONT.
|
virtual |
void NumeReTerminal::addBreakpoint | ( | const std::string & | _sFilename, |
size_t | nLine | ||
) |
This member function adds a breakpoint to the passed file at the indicated line number.
_sFilename | const std::string& |
nLine | size_t |
Definition at line 263 of file terminal.cpp.
References _kernel, BreakpointManager::addBreakpoint(), NumeReDebugger::getBreakpointManager(), NumeReKernel::getDebugger(), and m_kernelCS.
Referenced by NumeReEditor::AddBreakpoint(), and NumeReEditor::SynchronizeBreakpoints().
|
overridevirtual |
public virtual Bell Rings the system bell
Reimplemented from GenericTerminal.
Definition at line 1935 of file terminal.cpp.
References WinMessageBeep().
|
private |
Inform the GUI that the kernel is currently busy.
Definition at line 2215 of file terminal.cpp.
References NumeReWindow::Busy(), m_isBusy, and m_wxParent.
Referenced by filterKeyCodes(), and pass_command().
|
overridevirtual |
Function reimplementation to display a tooltip requested by the GenericTerminal.
x | int |
y | int |
_cTip | NumeRe::CallTip& |
Reimplemented from GenericTerminal.
Definition at line 1839 of file terminal.cpp.
References TerminalCallTip::Highlight(), m_callTip, m_charHeight, m_charWidth, m_height, NumeRe::CallTip::nEnd, NumeRe::CallTip::nStart, TerminalCallTip::PopUp(), TerminalCallTip::Resize(), and NumeRe::CallTip::sDefinition.
|
overridevirtual |
Function reimplementation to close the previously opened calltip.
Reimplemented from GenericTerminal.
Definition at line 1865 of file terminal.cpp.
References TerminalCallTip::Dismiss(), and m_callTip.
void NumeReTerminal::CancelCalculation | ( | ) |
Inform the kernel to stop the current calculation. Used to handle the ESC key press.
Definition at line 994 of file terminal.cpp.
References _kernel, NumeReKernel::CancelCalculation(), and m_kernelCS.
Referenced by OnKeyDown(), DebugViewer::OnMenuEvent(), and NumeReWindow::OnMenuEvent().
|
inline |
Definition at line 207 of file terminal.hpp.
References m_bTableEditCanceled, and m_kernelCS.
Referenced by TableEditPanel::OnButtonCancel(), and TableEditPanel::OnClose().
void NumeReTerminal::clearBreakpoints | ( | const std::string & | _sFilename | ) |
This member function removes all breakpoints from the passed file.
_sFilename | const std::string& |
Definition at line 295 of file terminal.cpp.
References _kernel, BreakpointManager::clearBreakpoints(), NumeReDebugger::getBreakpointManager(), NumeReKernel::getDebugger(), and m_kernelCS.
Referenced by NumeReWindow::CloseFile(), NumeReEditor::OnClearBreakpoints(), and NumeReEditor::SynchronizeBreakpoints().
|
overridevirtual |
public virtual ClearChars Clears a section of characters from the screen. This virtual function is called from GTerm::update_changes.
bg_color | int The background color to replace the characters with |
x | int The starting x position, in characters |
y | int The starting y position, in characters |
w | int The width of the area to be cleared, in characters |
h | int The height of the area to be cleared, in characters |
Reimplemented from GenericTerminal.
Definition at line 1887 of file terminal.cpp.
References GenericTerminal::bg_color, m_charHeight, m_charWidth, m_colorPens, m_colors, and m_curDC.
void NumeReTerminal::ClearSelection | ( | ) |
public ClearSelection De-selects all selected text
Definition at line 1382 of file terminal.cpp.
References GenericTerminal::GetTM(), HasSelection(), m_selecting, m_selx1, m_selx2, m_sely1, m_sely2, and TextManager::unselectAll().
Referenced by cutText(), ModeChange(), OnChar(), OnLeftDown(), ProcessInput(), ProcessOutput(), and ResizeTerminal().
void NumeReTerminal::clearTerminal | ( | ) |
This member function clears the terminal.
Definition at line 2290 of file terminal.cpp.
References _kernel, GenericTerminal::GetTM(), m_kernelCS, NumeReKernel::printVersionInfo(), and TextManager::Reset().
Referenced by OnThreadUpdate().
|
inline |
Definition at line 216 of file terminal.hpp.
References NumeReKernel::DEBUGGER_CONTINUE, m_kernelCS, and m_nDebuggerCode.
Referenced by DebugViewer::OnClose(), and DebugViewer::OnMenuEvent().
void NumeReTerminal::copyText | ( | ) |
Implements copy to clip board.
Definition at line 1506 of file terminal.cpp.
References GetSelection().
Referenced by cutText(), OnKeyDown(), and NumeReWindow::OnMenuEvent().
void NumeReTerminal::cutText | ( | ) |
Implements copy to clip board and deleting the selection.
Definition at line 1553 of file terminal.cpp.
References ClearSelection(), copyText(), and GenericTerminal::delSelected().
Referenced by NumeReWindow::OnMenuEvent().
|
private |
private DoDrawCursor Does the actual work of drawing the cursor
fg_color | int The index of the foreground color |
bg_color | int The index of the background color |
flags | int Modifier flags |
x | int The x position of the cursor, in characters |
y | int The y position of the cursor, in characters |
c | unsigned char The character the cursor is over |
Definition at line 1662 of file terminal.cpp.
References GenericTerminal::bg_color, GenericTerminal::BOLD, COLOR, GenericTerminal::fg_color, FONT, GenericTerminal::INVERSE, GenericTerminal::IsScrolledUp(), m_boldFont, m_boldStyle, m_boldUnderlinedFont, m_charHeight, m_charWidth, m_colors, m_curDC, m_normalFont, m_underlinedFont, OVERSTRIKE, and GenericTerminal::UNDERLINE.
Referenced by DrawCursor(), and OnTimer().
|
overridevirtual |
public virtual DrawCursor Draws the cursor on the terminal widget. This virtual function is called from GTerm::update_changes.
fg_color | int The index of the foreground color |
bg_color | int The index of the background color |
flags | int Modifiers for drawing the cursor |
x | int The x position in character cells |
y | int The y position in character cells |
c | unsigned char The character that underlies the cursor |
Implements GenericTerminal.
Definition at line 1749 of file terminal.cpp.
References GenericTerminal::bg_color, DoDrawCursor(), GenericTerminal::fg_color, m_curBG, m_curBlinkRate, m_curChar, m_curFG, m_curFlags, m_curState, m_curX, m_curY, and m_timer.
|
overridevirtual |
public virtual DrawText Responsible for actually drawing the terminal text on the widget. This virtual function is called from GTerm::update_changes.
fg_color | int The index of the foreground color |
bg_color | int The index of the background color |
flags | int Modifiers for drawing the text |
x | int The x position in character cells |
y | int The y position in character cells |
sText | const std::string& The std::string containing the characters to draw |
Implements GenericTerminal.
Definition at line 1578 of file terminal.cpp.
References GenericTerminal::bg_color, GenericTerminal::BOLD, GenericTerminal::fg_color, FONT, GenericTerminal::INVERSE, m_boldFont, m_boldStyle, m_boldUnderlinedFont, m_charHeight, m_charWidth, m_colors, m_curDC, m_normalFont, m_underlinedFont, OVERSTRIKE, GenericTerminal::SELECTED, and GenericTerminal::UNDERLINE.
void NumeReTerminal::EndKernelTask | ( | ) |
This function forces the thread to terminate so that the application may be shut down.
Definition at line 535 of file terminal.cpp.
References GenericTerminal::erase_line().
Referenced by NumeReWindow::OnClose().
|
protectedvirtual |
This is the main thread function and will be called repeatedly from the wxWidgets library.
Definition at line 438 of file terminal.cpp.
References _kernel, NumeReKernel::Autosave(), NumeReKernel::CloseSession(), NumeReKernel::getAutosaveInterval(), NumeReKernel::getLastSavedTime(), NumeReKernel::initializeStackTracker(), m_bCommandAvailable, m_kernelCS, m_KernelStatus, m_sCommandLine, m_updateProcedureLibrary, NumeReKernel::MainLoop(), NumeReKernel::NUMERE_PENDING, NumeReKernel::NUMERE_QUIT, NumeReKernel::printPreFmt(), NumeReKernel::printVersionInfo(), NumeReKernel::ProcLibrary, and ProcedureLibrary::updateLibrary().
|
private |
This private member function filters special key codes and handles them.
keyCode | int |
ctrlDown | bool |
Definition at line 1070 of file terminal.cpp.
References GenericTerminal::bs(), Busy(), TextManager::ChangeEditableState(), GenericTerminal::cr(), GenericTerminal::ctrl_left(), GenericTerminal::ctrl_right(), GenericTerminal::cursor_down(), GenericTerminal::cursor_left(), GenericTerminal::cursor_right(), GenericTerminal::cursor_up(), GenericTerminal::del(), GenericTerminal::end(), TextManager::getCurrentInputLine(), GenericTerminal::GetTM(), GenericTerminal::home(), GenericTerminal::lf(), pipe_command(), GenericTerminal::resetAutoComp(), GenericTerminal::RESETCURSOR, GenericTerminal::RESETTAB, and GenericTerminal::tab().
Referenced by OnChar().
|
inline |
Definition at line 249 of file terminal.hpp.
References m_curBlinkRate.
void NumeReTerminal::GetDefColors | ( | wxColor | colors[16], |
NumeReTerminal::BOLDSTYLE | boldStyle = NumeReTerminal::DEFAULT |
||
) |
public GetDefColors Gets the colors for the terminal from the internal Options object
colors | wxColour [] The colors that need to be assigned to |
boldStyle | wxTerm::BOLDSTYLE The bold style used in the terminal |
Definition at line 791 of file terminal.cpp.
References SyntaxStyles::background, Options::COMMAND, Options::COMMENT, Options::CONSOLE_STD, Options::CONSTANT, DEFAULT, SyntaxStyles::foreground, Options::FUNCTION, Options::GetSyntaxStyle(), m_boldStyle, m_options, Options::METHODS, Options::NUMBER, Options::OPERATOR, Options::OPTION, Options::PROCEDURE, Options::PROCEDURE_COMMAND, Options::SPECIALVAL, Options::STRING, NumeReSyntax::SYNTAX_COMMAND, NumeReSyntax::SYNTAX_COMMENT, NumeReSyntax::SYNTAX_CONSTANT, NumeReSyntax::SYNTAX_FUNCTION, NumeReSyntax::SYNTAX_METHODS, NumeReSyntax::SYNTAX_NPRC_COMMAND, NumeReSyntax::SYNTAX_NUMBER, NumeReSyntax::SYNTAX_OPERATOR, NumeReSyntax::SYNTAX_OPTION, NumeReSyntax::SYNTAX_PROCEDURE, NumeReSyntax::SYNTAX_SPECIALVAL, NumeReSyntax::SYNTAX_STD, and NumeReSyntax::SYNTAX_STRING.
Referenced by UpdateColors().
std::vector< std::string > NumeReTerminal::getDocIndex | ( | ) |
Gets the contents of the documentation index as a vector.
Definition at line 324 of file terminal.cpp.
References _kernel, NumeReKernel::getDocIndex(), and m_kernelCS.
Referenced by NumeReWindow::GetDocIndex().
std::string NumeReTerminal::getDocumentation | ( | const std::string & | sCommand | ) |
Gets the desired documentation article as a HTML string.
sCommand | const std::string& |
Definition at line 310 of file terminal.cpp.
References _kernel, NumeReKernel::getDocumentation(), and m_kernelCS.
Referenced by NumeReWindow::GetDocContent().
std::map< std::string, std::string > NumeReTerminal::getFunctionLanguageStrings | ( | ) |
This will return the language strings for the custom defined functions used by the language class for filling the symbols tree.
Definition at line 354 of file terminal.cpp.
References _kernel, NumeReKernel::getFunctionLanguageStrings(), and m_kernelCS.
Referenced by NumeReWindow::prepareFunctionTree().
const std::vector< Package > & NumeReTerminal::getInstalledPackages | ( | ) |
Returns the installed plugins as a STL vector.
Definition at line 200 of file terminal.cpp.
References _kernel, NumeReKernel::getInstalledPackages(), and m_kernelCS.
Referenced by PackageRepoBrowser::DetectInstalledPackages().
|
inline |
Definition at line 192 of file terminal.hpp.
References _kernel.
Referenced by PackageDialog::followBranch(), and NumeReWindow::OnCalculateDependencies().
Settings NumeReTerminal::getKernelSettings | ( | ) |
This will return a copy of the internal settings object of the kernel.
Definition at line 383 of file terminal.cpp.
References _kernel, NumeReKernel::getKernelSettings(), and m_kernelCS.
Referenced by NumeReWindow::CreateProcedureTree(), NumeReEditor::getTemplateContent(), NumeReWindow::OnClose(), NumeReWindow::OnMenuEvent(), NumeReWindow::OnOptions(), OnThreadUpdate(), NumeReWindow::UpdateMenuBar(), NumeReWindow::UpdateStatusBar(), and NumeReWindow::UpdateToolbar().
std::map< std::string, std::string > NumeReTerminal::getMenuMap | ( | ) |
Returns the menu map of the installed plugins as a STL map.
Definition at line 214 of file terminal.cpp.
References _kernel, NumeReKernel::getMenuMap(), and m_kernelCS.
Referenced by NumeReWindow::UpdatePackageMenu().
std::vector< std::string > NumeReTerminal::getPathSettings | ( | ) |
Returns the standard paths as a STL vector.
Definition at line 185 of file terminal.cpp.
References _kernel, NumeReKernel::getPathSettings(), and m_kernelCS.
Referenced by NumeReWindow::createLaTeXFile(), NumeReWindow::EvaluateOptions(), NumeReEditor::FindAndOpenProcedure(), SearchController::FindMarkedInclude(), SearchController::FindProcedureDefinition(), NumeReWindow::getFileForInstaller(), NumeReWindow::getPathDefs(), NumeReWindow::getTreeFolderPath(), NumeReWindow::getTreePath(), NumeReWindow::NewFile(), PackageDialog::OnAddItems(), NumeReEditor::OnChar(), NumeReWindow::OnCreatePackage(), NumeReWindow::OnExecuteFile(), NumeReWindow::OnFileEventTimer(), PackageDialog::OnLoadProjectFile(), NumeReWindow::OnMenuEvent(), PackageDialog::OnSaveProjectFile(), PackageRepoBrowser::PackageRepoBrowser(), NumeReWindow::runLaTeX(), NumeReWindow::SaveAll(), NumeReWindow::SaveCurrentFile(), PackageDialog::SaveOnClose(), and TableViewer::saveTable().
std::map< std::string, std::string > NumeReTerminal::getPluginLanguageStrings | ( | ) |
This will return the language strings for the plugins used by the language class for filling the symbols tree.
Definition at line 339 of file terminal.cpp.
References _kernel, NumeReKernel::getPluginLanguageStrings(), and m_kernelCS.
Referenced by NumeReWindow::prepareFunctionTree().
wxString NumeReTerminal::GetSelection | ( | ) |
public GetSelection Returns the selected text
Definition at line 1492 of file terminal.cpp.
References GenericTerminal::get_selected_text().
Referenced by copyText().
NumeRe::Container< std::string > NumeReTerminal::getStringTable | ( | const std::string & | sStringTableName | ) |
This member function will return the named table containing strings.
sStringTableName | const std::string& |
Definition at line 979 of file terminal.cpp.
References _kernel, NumeReKernel::getStringTable(), and m_kernelCS.
Referenced by TableViewer::reloadTable(), and NumeReWindow::showTable().
NumeRe::Table NumeReTerminal::getTable | ( | const std::string & | sTableName | ) |
This function will return the named table from the kernel to be shown in a GUI window.
sTableName | const std::string& |
Definition at line 964 of file terminal.cpp.
References _kernel, NumeReKernel::getTable(), and m_kernelCS.
Referenced by TableViewer::reloadTable(), and NumeReWindow::showTable().
|
inline |
Definition at line 292 of file terminal.hpp.
References m_linesDisplayed.
|
inline |
Definition at line 288 of file terminal.hpp.
References m_charsInLine.
|
inline |
Definition at line 130 of file terminal.hpp.
References m_charHeight.
Referenced by NumeReWindow::NumeReWindow().
NumeReVariables NumeReTerminal::getVariableList | ( | ) |
This will return the variable list from the kernel to be shown in the variable viewer.
Definition at line 369 of file terminal.cpp.
References _kernel, NumeReKernel::getVariableList(), and m_kernelCS.
Referenced by NumeReWindow::UpdateVarViewer().
bool NumeReTerminal::HasSelection | ( | ) |
public HasSelection Checks if any text is selected
Definition at line 1477 of file terminal.cpp.
References m_selx1, m_selx2, m_sely1, and m_sely2.
Referenced by ClearSelection(), OnChar(), OnKeyDown(), ProcessInput(), and ProcessOutput().
|
inline |
Definition at line 276 of file terminal.hpp.
Referenced by NumeReWindow::OnClose().
|
inline |
Definition at line 231 of file terminal.hpp.
References NumeReKernel::DEBUGGER_LEAVE, m_kernelCS, and m_nDebuggerCode.
Referenced by DebugViewer::OnMenuEvent().
|
private |
private MarkSelection Selects the text either in line or in rectangular mode
bRectangular | bool |
Definition at line 1403 of file terminal.cpp.
References GenericTerminal::GetTM(), m_marking, m_selx1, m_selx2, m_sely1, m_sely2, max, min, GenericTerminal::Select(), TextManager::unselectAll(), and GenericTerminal::Width().
Referenced by OnMouseMove().
|
overridevirtual |
public virtual ModeChange Changes the drawing mode between VT100 and PC
state | int The new state |
Reimplemented from GenericTerminal.
Definition at line 1915 of file terminal.cpp.
References ClearSelection(), m_color_defs, m_colorPen_defs, m_colorPens, m_colors, and GenericTerminal::ModeChange().
|
private |
private OnActivate Sets the terminal's active state - determines whether or not to draw the cursor
event | wxActivateEvent & The generated activate event |
Definition at line 2168 of file terminal.cpp.
References m_isActive.
|
private |
private OnChar Handles user keyboard input and begins processing the server's response
event | wxKeyEvent & The generated key event |
Definition at line 1012 of file terminal.cpp.
References ClearSelection(), GenericTerminal::delSelected(), filterKeyCodes(), GenericTerminal::GetMode(), HasSelection(), m_curDC, GenericTerminal::PC, GenericTerminal::ProcessInput(), GenericTerminal::resetAutoComp(), GenericTerminal::RESETCURSOR, GenericTerminal::RESETTAB, and scrollToInput().
void NumeReTerminal::OnClose | ( | wxCloseEvent & | event | ) |
This function forces the thread to terminate immediately. Should only occur in situations, where we face a crash.
event | wxCloseEvent& |
Definition at line 554 of file terminal.cpp.
|
private |
This member function handles the "Mouse Enter" event.
event | wxMouseEvent& |
Definition at line 1361 of file terminal.cpp.
References g_findReplace.
|
private |
private OnGainFocus Enables the cursor
event | wxFocusEvent & The generated focus event |
Definition at line 2184 of file terminal.cpp.
References GenericTerminal::clear_mode_flag(), GenericTerminal::CURSORINVISIBLE, and GenericTerminal::Update().
|
private |
private OnKeyDown Used to handle copy-paste control sequences
event | wxKeyEvent & The generated key event |
Definition at line 1187 of file terminal.cpp.
References CancelCalculation(), copyText(), GenericTerminal::erase_usercontent_line(), GenericTerminal::GetMode(), HasSelection(), m_isBusy, pasteText(), GenericTerminal::PC, GenericTerminal::resetAutoComp(), GenericTerminal::RESETCURSOR, and GenericTerminal::RESETTAB.
|
private |
private OnLeftDown Begins selection of terminal text
event | wxMouseEvent & The generated mouse event |
Definition at line 1260 of file terminal.cpp.
References ClearSelection(), m_charHeight, m_charWidth, m_selecting, m_selx1, m_selx2, m_sely1, and m_sely2.
|
private |
private OnLeftUp Ends text selection
event | wxMouseEvent & The generated mouse event |
Definition at line 1302 of file terminal.cpp.
References m_selecting, m_selx2, m_sely2, and GenericTerminal::move_cursor_editable_area().
|
private |
private OnLoseFocus Disables the cursor
event | wxFocusEvent & The generated focus event |
Definition at line 2201 of file terminal.cpp.
References GenericTerminal::CURSORINVISIBLE, GenericTerminal::set_mode_flag(), and GenericTerminal::Update().
|
private |
This member function handles the "MouseCaptureLostEvent" and releases the mouse.
event | wxMouseCaptureLostEvent& |
Definition at line 1280 of file terminal.cpp.
References m_selecting.
|
private |
private OnMouseMove Changes the selection if the mouse button is down
event | wxMouseEvent & The generated mouse event |
Definition at line 1325 of file terminal.cpp.
References GenericTerminal::Height(), m_charHeight, m_charWidth, m_selecting, m_selx2, m_sely2, MarkSelection(), and GenericTerminal::Width().
|
private |
private OnPaint Redraws the terminal widget
event | wxPaintEvent & The generated paint event |
Definition at line 1233 of file terminal.cpp.
References m_curDC, and GenericTerminal::update_changes().
|
private |
private OnSize Lets the terminal resize the text whenever the window is resized
event | wxSizeEvent & The generated size event |
Definition at line 2264 of file terminal.cpp.
References UpdateSize().
void NumeReTerminal::OnThreadUpdate | ( | wxThreadEvent & | event | ) |
This function is the thread update event handler member function. Here are all returned messages from the kernel and its notifications processed.
event | wxThreadEvent& |
Definition at line 573 of file terminal.cpp.
References _kernel, NumeReSyntax::addPlugins(), clearTerminal(), NumeReWindow::closeWindows(), Settings::copySettings(), NumeReWindow::editTable(), NumeReWindow::evaluateDebugInfo(), NumeReWindow::EvaluateOptions(), getKernelSettings(), NumeReKernel::getPluginCommands(), GenericTerminal::getSyntax(), GenericTerminal::GetTM(), m_isBusy, m_kernelCS, m_KernelStatus, m_options, m_sAnswer, m_wxParent, NumeReTask::nLine, NumeReWindow::notifyInstallationDone(), NumeReKernel::NUMERE_ANSWER_READ, NumeReKernel::NUMERE_CLC_TERMINAL, NumeReKernel::NUMERE_CLOSE_WINDOWS, NumeReKernel::NUMERE_DEBUG_EVENT, NumeReKernel::NUMERE_DONE, NumeReKernel::NUMERE_DONE_KEYWORD, NumeReKernel::NUMERE_EDIT_FILE, NumeReKernel::NUMERE_EDIT_TABLE, NumeReKernel::NUMERE_ERROR, NumeReKernel::NUMERE_INSTALLATION_DONE, NumeReKernel::NUMERE_ISSUE_WARNING, NumeReKernel::NUMERE_OPEN_DOC, NumeReKernel::NUMERE_PENDING, NumeReKernel::NUMERE_PENDING_SPECIAL, NumeReKernel::NUMERE_QUIT, NumeReKernel::NUMERE_REFRESH_FUNCTIONTREE, NumeReKernel::NUMERE_SHOW_STRING_TABLE, NumeReKernel::NUMERE_SHOW_TABLE, NumeReKernel::NUMERE_SHOW_WINDOW, NumeReWindow::openImage(), NumeReWindow::OpenSourceFile(), NumeReWindow::openTable(), ProcessOutput(), NumeReKernel::ReadOpenFileFlag(), Ready(), NumeReWindow::refreshFunctionTree(), scrollToInput(), NumeReKernel::SettingsModified(), NumeReWindow::ShowHelp(), NumeReWindow::showWindow(), NumeReTask::sString, NumeReTask::stringTable, NumeReTask::table, NumeReKernel::taskQueue, NumeReTask::taskType, NumeReTask::vDebugEvent, and NumeReTask::window.
Referenced by NumeReTerminal().
|
private |
private OnTimer Blinks the cursor each time it goes off
event | wxTimerEvent & The generated timer event |
Definition at line 1786 of file terminal.cpp.
References GenericTerminal::CURSORINVISIBLE, DoDrawCursor(), GenericTerminal::GetMode(), m_curBG, m_curBlinkRate, m_curChar, m_curDC, m_curFG, m_curFlags, m_curState, m_curX, m_curY, m_init, and m_selecting.
void NumeReTerminal::pass_command | ( | const std::string & | command, |
bool | isEvent | ||
) |
Pass the external command to the kernel without printing it to the console.
command | const std::string& |
isEvent | bool Do not add to the history |
Definition at line 925 of file terminal.cpp.
References NumeReWindow::AddToHistory(), Busy(), GenericTerminal::erase_line(), m_bCommandAvailable, m_kernelCS, m_sCommandLine, m_wxParent, and scrollToInput().
Referenced by NumeReWindow::EvaluateCommandLine(), NumeReDropTarget::OnData(), NumeReWindow::OnExecuteFile(), NumeReWindow::OnMenuEvent(), NumeReHistory::OnMouseDblClk(), NumeReWindow::OnPluginMenuEvent(), PackageRepoBrowser::OnThreadUpdate(), PackageRepoBrowser::OnUninstall(), NumeReWindow::OpenFileByType(), and NumeReWindow::pass_command().
void NumeReTerminal::passEditedTable | ( | NumeRe::Table | _table | ) |
Passes a table (as a container) to the kernel.
_table | NumeRe::Table |
Definition at line 245 of file terminal.cpp.
References _kernel, m_bTableEditAvailable, m_kernelCS, and NumeReKernel::table.
Referenced by TableEditPanel::OnButtonOk().
void NumeReTerminal::pasteText | ( | ) |
Implements paste from clip board.
Definition at line 1528 of file terminal.cpp.
References ProcessInput().
Referenced by OnKeyDown(), and NumeReWindow::OnMenuEvent().
|
private |
Pass the entered command line to the kernel.
This is called when the user hits "Enter". It will get the current input line from the internal buffer and sent it to the kernel.
sCommand | const std::string& |
Definition at line 901 of file terminal.cpp.
References NumeReWindow::AddToHistory(), NumeReKernel::bGettingLine, m_bCommandAvailable, m_kernelCS, m_sCommandLine, and m_wxParent.
Referenced by filterKeyCodes().
|
overridevirtual |
Processes text received from the keybord or clipboard.
len | int |
sData | const std::string& |
Reimplemented from GenericTerminal.
Definition at line 2118 of file terminal.cpp.
References ClearSelection(), GenericTerminal::delSelected(), HasSelection(), m_curDC, GenericTerminal::ProcessInput(), and scrollToInput().
Referenced by NumeReDropTarget::OnData(), NumeReWindow::OnMenuEvent(), and pasteText().
|
overridevirtual |
Processes text received from the kernel.
len | int |
sData | const std::string& |
Reimplemented from GenericTerminal.
Definition at line 2146 of file terminal.cpp.
References ClearSelection(), HasSelection(), m_curDC, and GenericTerminal::ProcessOutput().
Referenced by OnThreadUpdate().
|
private |
Inform the GUI that the kernel is ready for calculation.
Definition at line 2229 of file terminal.cpp.
References m_isBusy, m_wxParent, and NumeReWindow::Ready().
Referenced by OnThreadUpdate().
void NumeReTerminal::removeBreakpoint | ( | const std::string & | _sFilename, |
size_t | nLine | ||
) |
This member function removes a breakpoint from the passed file at the indicated line number.
_sFilename | const std::string& |
nLine | size_t |
Definition at line 280 of file terminal.cpp.
References _kernel, NumeReDebugger::getBreakpointManager(), NumeReKernel::getDebugger(), m_kernelCS, and BreakpointManager::removeBreakpoint().
Referenced by NumeReEditor::RemoveBreakpoint().
|
overridevirtual |
public virtual ResizeTerminal <Resizes the terminal to a given number of characters high and wide
width | int The new number of characters wide |
height | int The new number of characters high |
Reimplemented from GenericTerminal.
Definition at line 2052 of file terminal.cpp.
References ClearSelection(), GenericTerminal::height, m_bitmap, m_boldFont, m_charHeight, m_charWidth, m_height, m_init, m_memDC, m_width, MEASURING_STRING, GenericTerminal::ResizeTerminal(), mu::rint(), GenericTerminal::width, and wxEVT_COMMAND_TERM_RESIZE.
Referenced by SetFont(), and UpdateSize().
void NumeReTerminal::ScrollTerminal | ( | int | numLines, |
bool | scrollUp = true |
||
) |
public ScrollTerminal Scrolls the terminal text
numLines | int The number of lines to scroll |
scrollUp | bool [=true] True to scroll up, false to scroll down |
Definition at line 2247 of file terminal.cpp.
References GenericTerminal::Scroll().
Referenced by wxTermContainer::OnScrollbarScrollLineDown(), wxTermContainer::OnScrollbarScrollLineUp(), wxTermContainer::OnScrollbarScrollPageDown(), wxTermContainer::OnScrollbarScrollPageUp(), wxTermContainer::OnScrollbarScrollThumbtrack(), and wxTermContainer::OnWheelScroll().
|
private |
This private member function scrolls the terminal all the way down.
Definition at line 1164 of file terminal.cpp.
References GenericTerminal::GetTM(), GenericTerminal::IsScrolledUp(), GenericTerminal::Scroll(), and GenericTerminal::Update().
Referenced by OnChar(), OnThreadUpdate(), pass_command(), and ProcessInput().
void NumeReTerminal::SetCursorBlinkRate | ( | int | rate | ) |
public SetCursorBlinkRate Sets how often the cursor blinks
rate | int How many milliseconds between blinks |
Definition at line 866 of file terminal.cpp.
References CURSOR_BLINK_MAX_TIMEOUT, m_curBlinkRate, m_init, and m_timer.
Referenced by wxTermContainer::SetCaretBlinkTime().
bool NumeReTerminal::SetFont | ( | const wxFont & | font | ) |
public SetFont Sets the font for the terminal
font | const wxFont & The font to be used |
Definition at line 746 of file terminal.cpp.
References TerminalCallTip::ChangeFont(), m_boldFont, m_boldUnderlinedFont, m_callTip, m_height, m_init, m_normalFont, m_underlinedFont, m_width, and ResizeTerminal().
Referenced by NumeReWindow::OnOptions().
void NumeReTerminal::setKernelSettings | ( | const Settings & | _settings | ) |
This will pass the new kernel settings to the kernel.
_settings | const Settings& |
Definition at line 399 of file terminal.cpp.
References _kernel, SettingsValue::active(), Settings::getSetting(), m_kernelCS, GenericTerminal::m_useSmartSense, NumeReKernel::setKernelSettings(), and SETTING_B_SMARTSENSE.
Referenced by NumeReWindow::InitializeProgramOptions(), NumeReWindow::OnClose(), NumeReWindow::OnMenuEvent(), NumeReWindow::OnOptions(), and NumeReWindow::updateTipAtStartupSetting().
|
inline |
Definition at line 125 of file terminal.hpp.
References m_wxParent.
Referenced by NumeReWindow::NumeReWindow().
void NumeReTerminal::StartKernelTask | ( | ) |
This member function will start the managed, second thread, in which the kernel will operate.
Definition at line 415 of file terminal.cpp.
References KERNEL_THREAD_STACK_SIZE.
|
inline |
Definition at line 221 of file terminal.hpp.
References NumeReKernel::DEBUGGER_STEP, m_kernelCS, and m_nDebuggerCode.
Referenced by DebugViewer::OnMenuEvent().
|
inline |
Definition at line 226 of file terminal.hpp.
References NumeReKernel::DEBUGGER_STEPOVER, m_kernelCS, and m_nDebuggerCode.
Referenced by DebugViewer::OnMenuEvent().
void NumeReTerminal::UpdateColors | ( | ) |
This member function sets the new colors to the internal pen definitions.
Definition at line 2021 of file terminal.cpp.
References GetDefColors(), m_color_defs, m_colorPen_defs, m_colorPens, m_colors, and GenericTerminal::update_changes().
Referenced by NumeReWindow::OnOptions().
|
inline |
Definition at line 240 of file terminal.hpp.
References m_updateProcedureLibrary.
Referenced by NumeReWindow::OnFileEventTimer(), and NumeReWindow::SaveAll().
void NumeReTerminal::updatePackage | ( | const std::string & | package | ) |
Updates an installed package with new information after the user created a package with the package creator dialog.
package | const std::string& |
Definition at line 230 of file terminal.cpp.
References _kernel, PackageManager::declareNewPackage(), NumeReKernel::getProcedureInterpreter(), and m_kernelCS.
Referenced by NumeReWindow::OnCreatePackage().
|
virtual |
Fallback for the virtual definition.
width | int |
height | int |
Definition at line 2278 of file terminal.cpp.
void NumeReTerminal::UpdateSize | ( | ) |
public UpdateSize Updates the terminal's size in characters after it has been resized on the screen.
Definition at line 1953 of file terminal.cpp.
References _kernel, m_boldFont, m_charsInLine, m_curDC, m_inUpdateSize, m_kernelCS, m_linesDisplayed, MEASURING_STRING, ResizeTerminal(), mu::rint(), and NumeReKernel::updateLineLenght().
Referenced by OnSize(), NumeReWindow::toggleConsole(), NumeReWindow::toggleFiletree(), NumeReWindow::toggleHistory(), and NumeReWindow::UpdateTerminalNotebook().
|
friend |
Definition at line 50 of file terminal.hpp.
|
friend |
Definition at line 49 of file terminal.hpp.
|
protected |
Definition at line 166 of file terminal.hpp.
Referenced by addBreakpoint(), CancelCalculation(), clearBreakpoints(), clearTerminal(), Entry(), getDocIndex(), getDocumentation(), getFunctionLanguageStrings(), DebugViewer::getInformationByStackId(), getInstalledPackages(), getKernel(), getKernelSettings(), getMenuMap(), getPathSettings(), getPluginLanguageStrings(), getStringTable(), getTable(), getVariableList(), OnThreadUpdate(), passEditedTable(), removeBreakpoint(), setKernelSettings(), updatePackage(), and UpdateSize().
|
protected |
Definition at line 169 of file terminal.hpp.
Referenced by Entry(), NumeReKernel::getline(), pass_command(), and pipe_command().
|
private |
Definition at line 107 of file terminal.hpp.
Referenced by ResizeTerminal(), and ~NumeReTerminal().
|
private |
Definition at line 97 of file terminal.hpp.
Referenced by DoDrawCursor(), DrawText(), ResizeTerminal(), SetFont(), and UpdateSize().
|
private |
Definition at line 138 of file terminal.hpp.
Referenced by DoDrawCursor(), DrawText(), and GetDefColors().
|
private |
Definition at line 98 of file terminal.hpp.
Referenced by DoDrawCursor(), DrawText(), and SetFont().
|
protected |
Definition at line 170 of file terminal.hpp.
Referenced by NumeReKernel::getTable(), and passEditedTable().
|
protected |
Definition at line 171 of file terminal.hpp.
Referenced by cancelTableEdit(), and NumeReKernel::getTable().
|
private |
Definition at line 75 of file terminal.hpp.
Referenced by Calltip(), CalltipCancel(), and SetFont().
|
private |
Definition at line 55 of file terminal.hpp.
Referenced by Calltip(), ClearChars(), DoDrawCursor(), DrawText(), getTextHeight(), OnLeftDown(), OnMouseMove(), and ResizeTerminal().
|
private |
Definition at line 72 of file terminal.hpp.
Referenced by GetTermWidth(), and UpdateSize().
|
private |
Definition at line 54 of file terminal.hpp.
Referenced by Calltip(), ClearChars(), DoDrawCursor(), DrawText(), OnLeftDown(), OnMouseMove(), and ResizeTerminal().
|
private |
Definition at line 89 of file terminal.hpp.
Referenced by ModeChange(), and UpdateColors().
|
private |
Definition at line 92 of file terminal.hpp.
Referenced by ModeChange(), and UpdateColors().
|
private |
Definition at line 92 of file terminal.hpp.
Referenced by ClearChars(), ModeChange(), and UpdateColors().
|
private |
Definition at line 89 of file terminal.hpp.
Referenced by ClearChars(), DoDrawCursor(), DrawText(), ModeChange(), and UpdateColors().
|
private |
Definition at line 66 of file terminal.hpp.
Referenced by DrawCursor(), and OnTimer().
|
private |
Definition at line 69 of file terminal.hpp.
Referenced by DrawCursor(), GetCursorBlinkRate(), OnTimer(), and SetCursorBlinkRate().
|
private |
Definition at line 78 of file terminal.hpp.
Referenced by DrawCursor(), and OnTimer().
|
private |
Definition at line 101 of file terminal.hpp.
Referenced by ClearChars(), DoDrawCursor(), DrawText(), OnChar(), OnPaint(), OnTimer(), ProcessInput(), ProcessOutput(), and UpdateSize().
|
private |
Definition at line 65 of file terminal.hpp.
Referenced by DrawCursor(), and OnTimer().
|
private |
Definition at line 67 of file terminal.hpp.
Referenced by DrawCursor(), and OnTimer().
|
private |
Definition at line 68 of file terminal.hpp.
Referenced by DrawCursor(), and OnTimer().
|
private |
Definition at line 63 of file terminal.hpp.
Referenced by DrawCursor(), and OnTimer().
|
private |
Definition at line 64 of file terminal.hpp.
Referenced by DrawCursor(), and OnTimer().
|
private |
Definition at line 58 of file terminal.hpp.
Referenced by Calltip(), ResizeTerminal(), and SetFont().
|
private |
Definition at line 56 of file terminal.hpp.
Referenced by OnTimer(), ResizeTerminal(), SetCursorBlinkRate(), and SetFont().
|
private |
Definition at line 84 of file terminal.hpp.
Referenced by UpdateSize().
|
private |
Definition at line 85 of file terminal.hpp.
Referenced by OnActivate().
|
protected |
Definition at line 172 of file terminal.hpp.
Referenced by Busy(), OnKeyDown(), OnThreadUpdate(), and Ready().
|
protected |
Definition at line 167 of file terminal.hpp.
Referenced by addBreakpoint(), CancelCalculation(), cancelTableEdit(), NumeReKernel::checkInternalStates(), NumeReKernel::clcTerminal(), clearBreakpoints(), clearTerminal(), NumeReKernel::closeWindows(), continueDebug(), Entry(), NumeReKernel::failMessage(), getDocIndex(), getDocumentation(), getFunctionLanguageStrings(), DebugViewer::getInformationByStackId(), getInstalledPackages(), getKernelSettings(), NumeReKernel::getline(), getMenuMap(), getPathSettings(), getPluginLanguageStrings(), getStringTable(), NumeReKernel::getTable(), getTable(), getVariableList(), NumeReKernel::gotoLine(), NumeReKernel::installationDone(), NumeReKernel::issueWarning(), leaveDebug(), OnThreadUpdate(), pass_command(), passEditedTable(), pipe_command(), NumeReKernel::print(), NumeReKernel::printPreFmt(), NumeReKernel::printResult(), removeBreakpoint(), NumeReKernel::setDocumentation(), setKernelSettings(), NumeReKernel::showDebugEvent(), NumeReKernel::showStringTable(), NumeReKernel::showTable(), NumeReKernel::showWindow(), stepDebug(), stepOverDebug(), updatePackage(), UpdateSize(), and NumeReKernel::waitForContinue().
|
protected |
Definition at line 168 of file terminal.hpp.
Referenced by NumeReKernel::checkInternalStates(), NumeReKernel::clcTerminal(), NumeReKernel::closeWindows(), Entry(), NumeReKernel::failMessage(), NumeReKernel::gotoLine(), NumeReKernel::installationDone(), NumeReKernel::issueWarning(), OnThreadUpdate(), NumeReKernel::print(), NumeReKernel::printPreFmt(), NumeReKernel::printResult(), NumeReKernel::setDocumentation(), NumeReKernel::showDebugEvent(), NumeReKernel::showStringTable(), NumeReKernel::showTable(), and NumeReKernel::showWindow().
|
private |
Definition at line 73 of file terminal.hpp.
Referenced by GetTermHeight(), and UpdateSize().
|
private |
Definition at line 82 of file terminal.hpp.
Referenced by MarkSelection().
|
private |
Definition at line 104 of file terminal.hpp.
Referenced by ResizeTerminal(), and ~NumeReTerminal().
|
protected |
Definition at line 173 of file terminal.hpp.
Referenced by continueDebug(), leaveDebug(), NumeReKernel::showDebugEvent(), stepDebug(), stepOverDebug(), and NumeReKernel::waitForContinue().
|
private |
Definition at line 95 of file terminal.hpp.
Referenced by DoDrawCursor(), DrawText(), and SetFont().
|
private |
Definition at line 114 of file terminal.hpp.
Referenced by GetDefColors(), and OnThreadUpdate().
|
protected |
Definition at line 175 of file terminal.hpp.
Referenced by NumeReKernel::failMessage(), NumeReKernel::issueWarning(), OnThreadUpdate(), NumeReKernel::print(), NumeReKernel::printPreFmt(), and NumeReKernel::printResult().
|
protected |
Definition at line 174 of file terminal.hpp.
Referenced by Entry(), NumeReKernel::getline(), pass_command(), and pipe_command().
|
private |
Definition at line 71 of file terminal.hpp.
|
private |
Definition at line 81 of file terminal.hpp.
Referenced by ClearSelection(), OnLeftDown(), OnLeftUp(), OnLoseMouseCapture(), OnMouseMove(), and OnTimer().
|
private |
Definition at line 59 of file terminal.hpp.
Referenced by ClearSelection(), HasSelection(), MarkSelection(), and OnLeftDown().
|
private |
Definition at line 61 of file terminal.hpp.
Referenced by ClearSelection(), HasSelection(), MarkSelection(), OnLeftDown(), OnLeftUp(), and OnMouseMove().
|
private |
Definition at line 60 of file terminal.hpp.
Referenced by ClearSelection(), HasSelection(), MarkSelection(), and OnLeftDown().
|
private |
Definition at line 62 of file terminal.hpp.
Referenced by ClearSelection(), HasSelection(), MarkSelection(), OnLeftDown(), OnLeftUp(), and OnMouseMove().
|
private |
Definition at line 110 of file terminal.hpp.
Referenced by DrawCursor(), and SetCursorBlinkRate().
|
private |
Definition at line 96 of file terminal.hpp.
Referenced by DoDrawCursor(), DrawText(), and SetFont().
|
private |
Definition at line 86 of file terminal.hpp.
Referenced by Entry(), and UpdateLibrary().
|
private |
Definition at line 57 of file terminal.hpp.
Referenced by ResizeTerminal(), and SetFont().
|
private |
Definition at line 112 of file terminal.hpp.
Referenced by Busy(), OnThreadUpdate(), pass_command(), pipe_command(), Ready(), and SetParent().