diff --git a/interface/src/ScriptHighlighting.cpp b/interface/src/ScriptHighlighting.cpp index 9b58298b62..3ab1394097 100644 --- a/interface/src/ScriptHighlighting.cpp +++ b/interface/src/ScriptHighlighting.cpp @@ -29,7 +29,7 @@ void ScriptHighlighting::highlightBlock(const QString& text) { this->formatNumbers(text); this->formatTrueFalse(text); this->formatQoutedText(text); - this->formatComments(text); + this->formatComments(text); } void ScriptHighlighting::highlightKeywords(const QString& text) { @@ -54,7 +54,7 @@ void ScriptHighlighting::formatComments(const QString& text) { start = text.indexOf(_multiLineCommentBegin, start + length); if (end == -1) { setCurrentBlockState(BlockStateInMultiComment); - } + } } int index = _singleLineComment.indexIn(text); @@ -92,4 +92,4 @@ void ScriptHighlighting::formatTrueFalse(const QString& text){ setFormat(index, length, *font); index = _truefalseRegex.indexIn(text, index + length); } -} \ No newline at end of file +} diff --git a/interface/src/ui/ScriptEditorWidget.cpp b/interface/src/ui/ScriptEditorWidget.cpp index 74b74e1ad6..1765a5ea1a 100644 --- a/interface/src/ui/ScriptEditorWidget.cpp +++ b/interface/src/ui/ScriptEditorWidget.cpp @@ -155,4 +155,4 @@ void ScriptEditorWidget::onScriptError(const QString& message) { void ScriptEditorWidget::onScriptPrint(const QString& message) { _scriptEditorWidgetUI->debugText->appendPlainText("> " + message); -} \ No newline at end of file +} diff --git a/interface/src/ui/ScriptEditorWindow.cpp b/interface/src/ui/ScriptEditorWindow.cpp index ec63e0341d..0c34959353 100644 --- a/interface/src/ui/ScriptEditorWindow.cpp +++ b/interface/src/ui/ScriptEditorWindow.cpp @@ -197,4 +197,4 @@ void ScriptEditorWindow::updateScriptNameOrStatus() { this->setWindowTitle("Script Editor [New script" + modifiedStar + "]"); } } -} \ No newline at end of file +}