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

PythonSyntaxHighlighter ( QTextDocument *  parent)

Member Function Documentation

◆ highlightBlock()

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: