mirror of https://github.com/vitalif/openscad
Clifford Wolf:
Tiny fix for files ending with a non-newline terminated comment git-svn-id: http://svn.clifford.at/openscad/trunk@134 b57f626f-c46c-0410-a088-ec61d464b74cstl_dim
parent
8394d6002b
commit
70a89a322c
|
@ -411,7 +411,7 @@ void MainWindow::compile(bool procevents)
|
||||||
root_ctx.set_variable("$vpr", vpr);
|
root_ctx.set_variable("$vpr", vpr);
|
||||||
|
|
||||||
last_compiled_doc = editor->toPlainText();
|
last_compiled_doc = editor->toPlainText();
|
||||||
root_module = parse((last_compiled_doc + commandline_commands).toAscii().data(), false);
|
root_module = parse((last_compiled_doc + "\n" + commandline_commands).toAscii().data(), false);
|
||||||
|
|
||||||
delete highlighter;
|
delete highlighter;
|
||||||
highlighter = new Highlighter(editor->document());
|
highlighter = new Highlighter(editor->document());
|
||||||
|
|
Loading…
Reference in New Issue