summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-01-12 22:11:19 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-01-12 22:11:19 (GMT)
commit2c6d69645ff1391683ae6ffde8bd305277e17914 (patch)
treec85f0871494d54e8cc21b5052d012f419950fa4a /src/mainwin.cc
parent3b7bc56bdeba2401f88afd46d3969bcc543796fd (diff)
now passes all tests in 'manual test suite'
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 644cc2e..8834b75 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -1038,6 +1038,7 @@ bool MainWindow::compileTopLevelDocument(bool reload)
if (!animate_panel->isVisible()) {
if (!this->root_module) {
+ highlighter->unhighlightLastError();
QTextCursor cursor = editor->textCursor();
cursor.setPosition( parser_error_pos );
editor->setTextCursor( cursor );
@@ -1046,6 +1047,7 @@ bool MainWindow::compileTopLevelDocument(bool reload)
highlighter->unhighlightLastError();
}
}
+
}
bool changed = shouldcompiletoplevel;
contact: Jan Huwald // Impressum