summaryrefslogtreecommitdiff
path: root/src/highlighter.h
blob: aeb2972142d56aa8b9dc14153891660dd8e04ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef HIGHLIGHTER_H_
#define HIGHLIGHTER_H_

#include <QSyntaxHighlighter>

class Highlighter : public QSyntaxHighlighter
{
public:
#ifdef _QCODE_EDIT_
	Highlighter(QDocument *parent);
#else
	Highlighter(QTextDocument *parent);
#endif
	void highlightBlock(const QString &text);
};

#endif
contact: Jan Huwald // Impressum