QmlJS indenter: Fix labelled statements and break/continue with label.
Also do some cleanup to make handling of substatements nicer. Change-Id: I78773fc81d9b0058fa97c5cef393cca34b7fd885 Reviewed-on: http://codereview.qt-project.org/4413 Reviewed-by:Thomas Hartmann <Thomas.Hartmann@nokia.com>
Showing
- src/libs/qmljs/qmljscodeformatter.cpp 31 additions, 3 deletionssrc/libs/qmljs/qmljscodeformatter.cpp
- src/libs/qmljs/qmljscodeformatter.h 4 additions, 1 deletionsrc/libs/qmljs/qmljscodeformatter.h
- src/plugins/qmljstools/qmljsqtstylecodeformatter.cpp 37 additions, 13 deletionssrc/plugins/qmljstools/qmljsqtstylecodeformatter.cpp
- tests/auto/qml/qmleditor/qmlcodeformatter/tst_qmlcodeformatter.cpp 115 additions, 10 deletions...o/qml/qmleditor/qmlcodeformatter/tst_qmlcodeformatter.cpp
Loading
Please register or sign in to comment