From 57fd674ea20f28b03c3e143d296c60d550b2ebe8 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 31 Dec 2018 10:37:16 +0100 Subject: Add syntax highlighting to the editor. --- src/mainwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 5311c68..a52ee2b 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -34,6 +34,7 @@ #include "codeeditor.h" #include "outputwindow.h" #include "luascript.h" +#include "highlighter.h" class QSplitter; @@ -76,6 +77,7 @@ private: QSplitter *splitter; QFileSystemWatcher watcher; + Highlighter* highlighter; QString program; OutputWindow *out; LUAScript *l; -- cgit v1.2.3