Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::PythonHighlighter Class Reference
[Modular Widgets]

Class for syntax highlighting of Python code. More...

#include <pyWidget.h>

List of all members.

Public Member Functions

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


Detailed Description

Class for syntax highlighting of Python code.