From 9db55f741e283d0e52f2cd07090d9403378cd6a5 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 18 Jul 2019 09:35:44 +0200 Subject: Rename Highlighter to HighlighterAsm to preare for alternative C highlighter. Signed-off-by: Pavel Pisa --- qtmips_gui/srceditor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtmips_gui/srceditor.h') diff --git a/qtmips_gui/srceditor.h b/qtmips_gui/srceditor.h index 1fdbb98..02650e5 100644 --- a/qtmips_gui/srceditor.h +++ b/qtmips_gui/srceditor.h @@ -38,8 +38,8 @@ #include #include +#include #include "qtmipsmachine.h" -#include "highlighter.h" class SrcEditor : public QTextEdit { Q_OBJECT @@ -56,7 +56,7 @@ public: void setCursorToLine(int ln); void setFileName(QString filename); private: - Highlighter *highlighter; + QSyntaxHighlighter *highlighter; void setup_common(); QString fname; QString tname; -- cgit v1.2.3