QtiPlot 0.9.7.3
Classes | Public Member Functions | Protected Member Functions | Protected Attributes

SyntaxHighlighter Class Reference

#include <PythonSyntaxHighlighter.h>

Inheritance diagram for SyntaxHighlighter:
PythonSyntaxHighlighter

List of all members.

Classes

struct  HighlightingRule

Public Member Functions

 SyntaxHighlighter (ScriptEdit *parent)

Protected Member Functions

void highlightBlock (const QString &text)
 Parentheses matching code taken from Qt Quarterly Issue 31 · Q3 2009.

Protected Attributes

QTextCharFormat commentFormat
QTextCharFormat functionFormat
QVector< HighlightingRulehighlightingRules
QTextCharFormat numericFormat
QTextCharFormat quotationFormat

Constructor & Destructor Documentation

SyntaxHighlighter::SyntaxHighlighter ( ScriptEdit parent)

Member Function Documentation

void SyntaxHighlighter::highlightBlock ( const QString &  text) [protected]

Member Data Documentation

QTextCharFormat SyntaxHighlighter::commentFormat [protected]
QTextCharFormat SyntaxHighlighter::functionFormat [protected]

Referenced by SyntaxHighlighter().

QTextCharFormat SyntaxHighlighter::numericFormat [protected]

Referenced by SyntaxHighlighter().

QTextCharFormat SyntaxHighlighter::quotationFormat [protected]

Referenced by SyntaxHighlighter().


The documentation for this class was generated from the following files: