Fix compilation of QmlJS code formatter test.
Done by moving ITextMark and ITextMarkable from itexteditor.h
to itextmark.h. The test uses parts of the texteditor plugin by
compiling some of its files. For that to work, the code has to be
fairly stand-alone. The reference to EditorManager in
itexteditor.cpp broke it.
Long term, the test should become a plugin based test to avoid this
kind of problem.
Change-Id: Ibae3bcd7365eb4e2814cd07011cad0180507e82b
Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@nokia.com>
Showing
- src/plugins/texteditor/itexteditor.cpp 0 additions, 53 deletionssrc/plugins/texteditor/itexteditor.cpp
- src/plugins/texteditor/itexteditor.h 2 additions, 48 deletionssrc/plugins/texteditor/itexteditor.h
- src/plugins/texteditor/itextmark.cpp 86 additions, 0 deletionssrc/plugins/texteditor/itextmark.cpp
- src/plugins/texteditor/itextmark.h 102 additions, 0 deletionssrc/plugins/texteditor/itextmark.h
- src/plugins/texteditor/texteditor.pro 4 additions, 2 deletionssrc/plugins/texteditor/texteditor.pro
- src/plugins/texteditor/texteditor.qbs 2 additions, 0 deletionssrc/plugins/texteditor/texteditor.qbs
- tests/auto/qml/qmleditor/qmlcodeformatter/qmlcodeformatter.pro 4 additions, 2 deletions.../auto/qml/qmleditor/qmlcodeformatter/qmlcodeformatter.pro
Loading
Please register or sign in to comment