#include <BALL/VIEW/WIDGETS/pyWidget.h>
Public Member Functions | |
PythonHighlighter () | |
~PythonHighlighter () | |
void | compilePattern () |
void | highlightBlock (const QString &text) |
Public Attributes | |
QStringList | python_keywords |
QStringList | BALL_keywords |
QTextCharFormat | my_class_format |
QTextCharFormat | python_format |
QTextCharFormat | string_format |
QTextCharFormat | comment_format |
vector< QRegExp > | python_patterns |
vector< QRegExp > | BALL_patterns |
QRegExp | string_pattern |
QRegExp | comment_pattern |
Class for syntax highlighting of Python code.
BALL::VIEW::PythonHighlighter::PythonHighlighter | ( | ) |
BALL::VIEW::PythonHighlighter::~PythonHighlighter | ( | ) | [inline] |
void BALL::VIEW::PythonHighlighter::compilePattern | ( | ) |
void BALL::VIEW::PythonHighlighter::highlightBlock | ( | const QString & | text | ) |
QStringList BALL::VIEW::PythonHighlighter::BALL_keywords |
vector<QRegExp> BALL::VIEW::PythonHighlighter::BALL_patterns |
QTextCharFormat BALL::VIEW::PythonHighlighter::comment_format |
QTextCharFormat BALL::VIEW::PythonHighlighter::my_class_format |
QTextCharFormat BALL::VIEW::PythonHighlighter::python_format |
QStringList BALL::VIEW::PythonHighlighter::python_keywords |
vector<QRegExp> BALL::VIEW::PythonHighlighter::python_patterns |
QTextCharFormat BALL::VIEW::PythonHighlighter::string_format |