summaryrefslogtreecommitdiff
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 1b7b37b..fa65cb5 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -56,6 +56,8 @@ MainWindow::MainWindow(QString p)
splitter->addWidget(editor);
connect(editor, SIGNAL(textChanged()), this, SLOT(programChanged()));
+ highlighter = new Highlighter(editor->document());
+
out = new OutputWindow();
splitter->addWidget(out);