QmlJS indenter: Fix indentation for property initializers.
property int foo: { used to start an object literal but is a block statement now. Change-Id: I9ffbce4927b444314f1a43aba65ca3d9d234e47c Reviewed-on: http://codereview.qt-project.org/4339 Reviewed-by:Fawzi Mohamed <fawzi.mohamed@nokia.com>
Showing
- src/libs/qmljs/qmljscodeformatter.cpp 1 addition, 16 deletionssrc/libs/qmljs/qmljscodeformatter.cpp
- src/libs/qmljs/qmljscodeformatter.h 0 additions, 1 deletionsrc/libs/qmljs/qmljscodeformatter.h
- src/plugins/qmljstools/qmljsqtstylecodeformatter.cpp 5 additions, 10 deletionssrc/plugins/qmljstools/qmljsqtstylecodeformatter.cpp
- tests/auto/qml/qmleditor/qmlcodeformatter/tst_qmlcodeformatter.cpp 18 additions, 14 deletions...o/qml/qmleditor/qmlcodeformatter/tst_qmlcodeformatter.cpp
Loading
Please register or sign in to comment