summaryrefslogtreecommitdiff
path: root/src/highlighter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/highlighter.h')
-rw-r--r--src/highlighter.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/highlighter.h b/src/highlighter.h
new file mode 100644
index 0000000..2eead6d
--- /dev/null
+++ b/src/highlighter.h
@@ -0,0 +1,13 @@
+#ifndef HIGHLIGHTER_H_
+#define HIGHLIGHTER_H_
+
+#include <QSyntaxHighlighter>
+
+class Highlighter : public QSyntaxHighlighter
+{
+public:
+ Highlighter(QTextDocument *parent);
+ void highlightBlock(const QString &text);
+};
+
+#endif
contact: Jan Huwald // Impressum