#include <python_syntax_highlighter.hh>
Public Member Functions | |
PythonSyntaxHighlighter (QTextDocument *parent) | |
virtual void | highlightBlock (const QString &text_block) |
encodes the syntax rules of the python programming language
Definition at line 36 of file python_syntax_highlighter.hh.
PythonSyntaxHighlighter | ( | QTextDocument * | parent | ) |
virtual void highlightBlock | ( | const QString & | text_block | ) | [virtual] |
hightlight the given block of text. Called by QTextDocument upon need