diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-11-05 20:17:08 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-11-05 20:17:08 (GMT) |
commit | 67106a40c7ab5baab8d879fb354e74bec722f5f6 (patch) | |
tree | da94fc5aa3c5b70ac28d2fd61cec2adb02399e69 /highlighter.cc | |
parent | 5312d2fbba47c5d8e0072e31fc50651888e0d63d (diff) |
Clifford Wolf:
Improved error highlighting
Fixed caching bug in render() statement
git-svn-id: http://svn.clifford.at/openscad/trunk@129 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'highlighter.cc')
-rw-r--r-- | highlighter.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/highlighter.cc b/highlighter.cc index 7543b4d..017d6b2 100644 --- a/highlighter.cc +++ b/highlighter.cc @@ -36,6 +36,7 @@ void Highlighter::highlightBlock(const QString &text) QTextCharFormat style; style.setBackground(Qt::red); setFormat(0, text.size(), style); + style.setBackground(Qt::black); style.setForeground(Qt::white); setFormat(parser_error_pos - n, 1, style); } |