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 /mainwin.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 'mainwin.cc')
-rw-r--r-- | mainwin.cc | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -415,12 +415,8 @@ void MainWindow::compile(bool procevents) delete highlighter; highlighter = new Highlighter(editor->document()); - if (!root_module) { - QTextCursor cursor = editor->textCursor(); - cursor.setPosition(parser_error_pos); - editor->setTextCursor(cursor); + if (!root_module) goto fail; - } PRINT("Compiling design (CSG Tree generation)..."); if (procevents) |