NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
utils.cpp File Reference
#include "gterm.hpp"
#include "../../kernel/core/ui/language.hpp"
#include "../../kernel/core/utils/tools.hpp"
#include <wx/log.h>
Include dependency graph for utils.cpp:

Go to the source code of this file.

Functions

static bool hasContextToolTip (short int c, bool inParens)
 Returns true, if a color corresponds to a syntax element, which has a (context, e.g. a function) tooltip. More...
 
static bool hasNonContextToolTip (short int c)
 Returns true, if a color corresponds to a syntax element, which doesn't have a (context, e.g. a function) tooltip. More...
 

Variables

Language _guilang
 

Function Documentation

◆ hasContextToolTip()

static bool hasContextToolTip ( short int  c,
bool  inParens 
)
inlinestatic

Returns true, if a color corresponds to a syntax element, which has a (context, e.g. a function) tooltip.

Parameters
cshort int
inParensbool
Returns
bool

Definition at line 158 of file utils.cpp.

References NumeReSyntax::SYNTAX_COMMAND, NumeReSyntax::SYNTAX_FUNCTION, NumeReSyntax::SYNTAX_METHODS, and NumeReSyntax::SYNTAX_PROCEDURE.

Referenced by GenericTerminal::handle_calltip().

◆ hasNonContextToolTip()

static bool hasNonContextToolTip ( short int  c)
inlinestatic

Returns true, if a color corresponds to a syntax element, which doesn't have a (context, e.g. a function) tooltip.

Parameters
cshort int
Returns
bool

Definition at line 176 of file utils.cpp.

References NumeReSyntax::SYNTAX_CONSTANT, and NumeReSyntax::SYNTAX_OPTION.

Referenced by GenericTerminal::handle_calltip().

Variable Documentation

◆ _guilang

Language _guilang
extern

AboutChameleonDialog type definition

AboutChameleonDialog event table definition

Definition at line 135 of file NumeReWindow.cpp.