mirror of
https://github.com/fralx/LimeReport.git
synced 2025-01-11 17:18:10 +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
|