QtiPlot
0.9.8.2
|
#include <PythonSyntaxHighlighter.h>
Public Member Functions | |
PythonSyntaxHighlighter (ScriptEdit *parent) | |
![]() | |
SyntaxHighlighter (ScriptEdit *parent) | |
Static Public Member Functions | |
static QStringList | keywordsList () |
Protected Member Functions | |
void | highlightBlock (const QString &text) |
![]() | |
void | highlightBlock (const QString &text) |
Parentheses matching code taken from Qt Quarterly Issue 31 · Q3 2009. More... | |
Private Attributes | |
QTextCharFormat | classFormat |
QTextCharFormat | keywordFormat |
QVector< HighlightingRule > | pythonHighlightingRules |
Static Private Attributes | |
static const QStringList | d_keywords |
Additional Inherited Members | |
![]() | |
QTextCharFormat | commentFormat |
QTextCharFormat | functionFormat |
QVector< HighlightingRule > | highlightingRules |
QTextCharFormat | numericFormat |
QTextCharFormat | quotationFormat |
PythonSyntaxHighlighter::PythonSyntaxHighlighter | ( | ScriptEdit * | parent | ) |
References ScriptingEnv::application(), classFormat, ApplicationWindow::d_class_highlight_color, ApplicationWindow::d_keyword_highlight_color, d_keywords, SyntaxHighlighter::HighlightingRule::format, keywordFormat, SyntaxHighlighter::HighlightingRule::pattern, pythonHighlightingRules, and scripted::scriptingEnv().
|
protected |
|
inlinestatic |
References SyntaxHighlighter::highlightBlock().
Referenced by ApplicationWindow::initCompleter(), and ScriptEdit::insertCompletion().
|
private |
Referenced by PythonSyntaxHighlighter().
|
staticprivate |
Referenced by PythonSyntaxHighlighter().
|
private |
Referenced by PythonSyntaxHighlighter().
|
private |
Referenced by highlightBlock(), and PythonSyntaxHighlighter().