Syntax highlighter for Povray. More...
#include <PovrayHighlighter.h>
Public Member Functions | |
PovrayHighlighter (QObject *parent) | |
Constructs a syntax highlighter. | |
virtual | ~PovrayHighlighter () |
Destroys this object. | |
Protected Member Functions | |
void | highlightBlock (const QString &text) |
Syntax highlighter for Povray.
Definition at line 36 of file PovrayHighlighter.h.
PovrayHighlighter::PovrayHighlighter | ( | QObject * | parent | ) |
Constructs a syntax highlighter.
Definition at line 61 of file PovrayHighlighter.cpp.
PovrayHighlighter::~PovrayHighlighter | ( | ) | [virtual] |
Destroys this object.
Definition at line 68 of file PovrayHighlighter.cpp.
void PovrayHighlighter::highlightBlock | ( | const QString & | text | ) | [protected] |
Definition at line 73 of file PovrayHighlighter.cpp.
References Gui::SyntaxHighlighter::colorByType(), RaytracingGui::PovrayHighlighterP::keywords, RobotExample::pos, and Sketcher::start.