Gui::PythonSyntaxHighlighter Class Reference

Syntax highlighter for Python. More...

#include <PythonEditor.h>

Inheritance diagram for Gui::PythonSyntaxHighlighter:
Gui::SyntaxHighlighter Gui::PythonConsoleHighlighter

List of all members.

Public Member Functions

void highlightBlock (const QString &text)
 Detects all kinds of text to highlight them in the correct color.
 PythonSyntaxHighlighter (QObject *parent)
 Constructs a Python syntax highlighter.
virtual ~PythonSyntaxHighlighter ()
 Destroys this object.

Detailed Description

Syntax highlighter for Python.

Author:
Werner Mayer

Definition at line 74 of file PythonEditor.h.


Constructor & Destructor Documentation

PythonSyntaxHighlighter::PythonSyntaxHighlighter ( QObject *  parent  ) 

Constructs a Python syntax highlighter.

Definition at line 207 of file PythonEditor.cpp.

PythonSyntaxHighlighter::~PythonSyntaxHighlighter (  )  [virtual]

Destroys this object.

Definition at line 214 of file PythonEditor.cpp.


Member Function Documentation

void PythonSyntaxHighlighter::highlightBlock ( const QString &  text  ) 

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

Generated on Wed Nov 23 19:02:02 2011 for FreeCAD by  doxygen 1.6.1