Syntax highlighter for Povray. More...
#include <PovrayHighlighter.h>
Public Member Functions | |
PovrayHighlighter (QObject *parent) | |
Constructs a syntax highlighter. More... | |
virtual | ~PovrayHighlighter () |
Destroys this object. More... | |
Public Member Functions inherited from Gui::SyntaxHighlighter | |
QColor | color (const QString &type) |
int | maximumUserState () const |
void | setColor (const QString &type, const QColor &col) |
Sets the color col to the paragraph type type. More... | |
SyntaxHighlighter (QObject *parent) | |
Constructs a syntax highlighter. More... | |
virtual | ~SyntaxHighlighter () |
Destroys this object. More... | |
Protected Member Functions | |
void | highlightBlock (const QString &text) |
Protected Member Functions inherited from Gui::SyntaxHighlighter | |
QColor | colorByType (TColor type) |
virtual void | colorChanged (const QString &type, const QColor &col) |
Additional Inherited Members | |
Protected Types inherited from Gui::SyntaxHighlighter | |
enum | TColor { Text = 0 , Comment = 1 , BlockComment = 2 , Number = 3 , String = 4 , Keyword = 5 , Classname = 6 , Defname = 7 , Operator = 8 , Output = 9 , Error = 10 } |
Syntax highlighter for Povray.
PovrayHighlighter::PovrayHighlighter | ( | QObject * | parent | ) |
Constructs a syntax highlighter.
|
virtual |
Destroys this object.
|
protected |