diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-12-31 10:37:16 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-12-31 10:37:16 +0100 |
commit | 57fd674ea20f28b03c3e143d296c60d550b2ebe8 (patch) | |
tree | 20a8e30ace2615dc6a7ca87bd93b1a063fd93b01 /src/mainwindow.cc | |
parent | 9e3175f399a7a636859130de91e89a86fe12033c (diff) |
Add syntax highlighting to the editor.
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r-- | src/mainwindow.cc | 2 |
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); |