summaryrefslogtreecommitdiff
path: root/src/highlighter.cc
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-04-03 03:05:14 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-04-03 03:05:14 (GMT)
commit9f582257544a6b81097c5aded4ae912faf112475 (patch)
tree9568b7871c741d14c1595c259e83fce94fca0a5f /src/highlighter.cc
parent1fb93c298546a28c4653007ff4a74ab703f73e46 (diff)
Changes that were supposed to be commited in last commit
git-svn-id: http://svn.clifford.at/openscad/trunk@501 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'src/highlighter.cc')
-rw-r--r--src/highlighter.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/highlighter.cc b/src/highlighter.cc
index d5f729d..1123d1b 100644
--- a/src/highlighter.cc
+++ b/src/highlighter.cc
@@ -25,8 +25,11 @@
#include "highlighter.h"
#include "openscad.h" // extern int parser_error_pos;
-
+#ifdef _QCODE_EDIT_
+Highlighter::Highlighter(QDocument *parent)
+#else
Highlighter::Highlighter(QTextDocument *parent)
+#endif
: QSyntaxHighlighter(parent)
{
}
contact: Jan Huwald // Impressum