QtiPlot  0.9.8.2
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SyntaxHighlighter Class Reference

#include <PythonSyntaxHighlighter.h>

Inheritance diagram for SyntaxHighlighter:
PythonSyntaxHighlighter

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().

QVector<HighlightingRule> SyntaxHighlighter::highlightingRules
protected
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: