From 7730e7294e474eef73f262b46754376fb3d3c657 Mon Sep 17 00:00:00 2001 From: arkpar Date: Fri, 23 Jan 2015 11:15:22 +0100 Subject: [PATCH] style fixes --- mix/CMakeLists.txt | 2 +- mix/CodeHighlighter.cpp | 1 - mix/noweb.qrc | 2 +- mix/qml/CodeEditor.qml | 1 + 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mix/CMakeLists.txt b/mix/CMakeLists.txt index ae13415f5..5c22ccf33 100644 --- a/mix/CMakeLists.txt +++ b/mix/CMakeLists.txt @@ -59,6 +59,6 @@ eth_install_executable(${EXECUTABLE} QMLDIR ${CMAKE_CURRENT_SOURCE_DIR}/qml ) -#add qml resources to proect tree in Qt creator +#add qml files to project tree in Qt creator file(GLOB_RECURSE QMLFILES "qml/*.*") add_custom_target(dummy SOURCES ${QMLFILES}) diff --git a/mix/CodeHighlighter.cpp b/mix/CodeHighlighter.cpp index b961a101d..ab8a61ff5 100644 --- a/mix/CodeHighlighter.cpp +++ b/mix/CodeHighlighter.cpp @@ -137,7 +137,6 @@ void CodeHighlighter::processComments(std::string const& _source) void CodeHighlighter::updateFormatting(QTextDocument* _document, CodeHighlighterSettings const& _settings) { - return; QTextBlock block = _document->firstBlock(); QList ranges; diff --git a/mix/noweb.qrc b/mix/noweb.qrc index e8e60d905..9dc107942 100644 --- a/mix/noweb.qrc +++ b/mix/noweb.qrc @@ -1,6 +1,6 @@ - qml/WebPreviewStub.qml + qml/WebPreviewStub.qml qml/CodeEditor.qml diff --git a/mix/qml/CodeEditor.qml b/mix/qml/CodeEditor.qml index 704919736..77e60ee66 100644 --- a/mix/qml/CodeEditor.qml +++ b/mix/qml/CodeEditor.qml @@ -64,6 +64,7 @@ Component { font.family: "Monospace" font.pointSize: 12 width: parent.width + tabChangesFocus: false Keys.onPressed: { if (event.key === Qt.Key_Tab) {