aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/srceditor.cpp
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-18 09:35:44 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-18 09:35:44 +0200
commit9db55f741e283d0e52f2cd07090d9403378cd6a5 (patch)
treed2cd522846707e9da3665e72ef01122fececa3f0 /qtmips_gui/srceditor.cpp
parent6fabd7c08a087278a44260335769d0e78aa355ee (diff)
downloadqtmips-9db55f741e283d0e52f2cd07090d9403378cd6a5.tar.gz
qtmips-9db55f741e283d0e52f2cd07090d9403378cd6a5.tar.bz2
qtmips-9db55f741e283d0e52f2cd07090d9403378cd6a5.zip
Rename Highlighter to HighlighterAsm to preare for alternative C highlighter.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/srceditor.cpp')
-rw-r--r--qtmips_gui/srceditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmips_gui/srceditor.cpp b/qtmips_gui/srceditor.cpp
index 55f372a..e7502ac 100644
--- a/qtmips_gui/srceditor.cpp
+++ b/qtmips_gui/srceditor.cpp
@@ -40,7 +40,7 @@
#include <QTextBlock>
#include "srceditor.h"
-#include "highlighter.h"
+#include "highlighterasm.h"
void SrcEditor::setup_common() {
QFont font;
@@ -49,7 +49,7 @@ void SrcEditor::setup_common() {
font.setPointSize(10);
setFont(font);
tname = "Unknown";
- highlighter = new Highlighter(document());
+ highlighter = new HighlighterAsm(document());
}
SrcEditor::SrcEditor(QWidget *parent) : Super(parent) {