QmlJS: Fix semantic and non-semantic QML error reporting.
The QML snapshot only ever contains valid Documents; to compile a list of parser problems we need to get at the invalid documents. To do that, the model manager now provides a Snapshot with up to date, but potentially invalid documents. That should also be useful for other things. Change-Id: I67892f63771c221bf2fe2c2bf0240a0f4e523227 Reviewed-on: http://codereview.qt.nokia.com/3012 Reviewed-by:Fawzi Mohamed <fawzi.mohamed@nokia.com>
Showing
- src/libs/qmljs/qmljsdocument.cpp 2 additions, 2 deletionssrc/libs/qmljs/qmljsdocument.cpp
- src/libs/qmljs/qmljsdocument.h 1 addition, 1 deletionsrc/libs/qmljs/qmljsdocument.h
- src/libs/qmljs/qmljsmodelmanagerinterface.h 1 addition, 1 deletionsrc/libs/qmljs/qmljsmodelmanagerinterface.h
- src/plugins/qmljseditor/qmltaskmanager.cpp 9 additions, 12 deletionssrc/plugins/qmljseditor/qmltaskmanager.cpp
- src/plugins/qmljseditor/qmltaskmanager.h 1 addition, 1 deletionsrc/plugins/qmljseditor/qmltaskmanager.h
- src/plugins/qmljstools/qmljsmodelmanager.cpp 19 additions, 11 deletionssrc/plugins/qmljstools/qmljsmodelmanager.cpp
- src/plugins/qmljstools/qmljsmodelmanager.h 3 additions, 2 deletionssrc/plugins/qmljstools/qmljsmodelmanager.h
Loading
Please register or sign in to comment