summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-11-08 16:11:07 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-11-08 16:11:07 (GMT)
commitac26c9d683edd89c54af1990760fd2159277791d (patch)
tree4d5be99ec6475912afaabf11065940e79f53f70a
parentd44574184094893f61948c55610cbc39b159b09b (diff)
Clifford Wolf:
Disabled highlighting of syntax error char position git-svn-id: http://svn.clifford.at/openscad/trunk@131 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r--highlighter.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/highlighter.cc b/highlighter.cc
index 017d6b2..5e15867 100644
--- a/highlighter.cc
+++ b/highlighter.cc
@@ -36,9 +36,11 @@ void Highlighter::highlightBlock(const QString &text)
QTextCharFormat style;
style.setBackground(Qt::red);
setFormat(0, text.size(), style);
+#if 0
style.setBackground(Qt::black);
style.setForeground(Qt::white);
setFormat(parser_error_pos - n, 1, style);
+#endif
}
}
contact: Jan Huwald // Impressum