mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-25 13:04:38 +03:00
18 lines
375 B
C
18 lines
375 B
C
|
#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
|