OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
PythonSyntaxHighlighter Class Reference

#include <python_syntax_highlighter.hh>

Inherits QSyntaxHighlighter.

Public Member Functions

 PythonSyntaxHighlighter (QTextDocument *parent)
 
virtual void highlightBlock (const QString &text_block)
 

Detailed Description

encodes the syntax rules of the python programming language

Definition at line 36 of file python_syntax_highlighter.hh.

Constructor & Destructor Documentation

PythonSyntaxHighlighter ( QTextDocument *  parent)

Member Function Documentation

virtual void highlightBlock ( const QString &  text_block)
virtual

hightlight the given block of text. Called by QTextDocument upon need


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