LimeReport/limereport/scripteditor/lrscripthighlighter.h

18 lines
375 B
C
Raw Normal View History

2017-09-16 16:04:29 +03:00
#ifndef LRSCRIPTHIGHLIGHTER_H
#define LRSCRIPTHIGHLIGHTER_H
#include <QSyntaxHighlighter>
namespace LimeReport{
class ScriptHighlighter : QSyntaxHighlighter{
public:
ScriptHighlighter(QTextDocument* parent): QSyntaxHighlighter(parent){}
// QSyntaxHighlighter interface
protected:
void highlightBlock(const QString& text);
};
}
#endif // LRSCRIPTHIGHLIGHTER_H