summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/texteditor.pro
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2019-01-16 09:37:54 +0100
committerIvan Donchevskii <ivan.donchevskii@qt.io>2019-01-22 09:52:15 +0000
commitd7058e1afedfe609ff6e81222bd2137922bf7de3 (patch)
tree62d16136c8336646b8ef0ad4d220b7e0e8331203 /src/plugins/texteditor/texteditor.pro
parent8b5beeb952448540a3834333b694919563d81ee2 (diff)
downloadqt-creator-d7058e1afedfe609ff6e81222bd2137922bf7de3.tar.gz
ClangFormat: Refactor indenter to allow ClangFormat unit-tests
We do not build texteditor files in unit-tests so some tricks were required to make ClangFormatIndenter available. First simple unit-test proofs it builds and runs. Change-Id: I81d5ea099bd27fd1c1ed8b5b7877299dcc62a67f Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/plugins/texteditor/texteditor.pro')
-rw-r--r--src/plugins/texteditor/texteditor.pro7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/texteditor/texteditor.pro b/src/plugins/texteditor/texteditor.pro
index 9b698b7340..d9f99ccc9d 100644
--- a/src/plugins/texteditor/texteditor.pro
+++ b/src/plugins/texteditor/texteditor.pro
@@ -31,7 +31,7 @@ SOURCES += texteditorplugin.cpp \
textdocumentlayout.cpp \
completionsettings.cpp \
normalindenter.cpp \
- indenter.cpp \
+ textindenter.cpp \
quickfix.cpp \
syntaxhighlighter.cpp \
highlighterutils.cpp \
@@ -135,7 +135,7 @@ HEADERS += texteditorplugin.h \
textdocumentlayout.h \
completionsettings.h \
normalindenter.h \
- indenter.h \
+ textindenter.h \
quickfix.h \
syntaxhighlighter.h \
highlighterutils.h \
@@ -218,7 +218,8 @@ HEADERS += texteditorplugin.h \
commentssettings.h \
textstyles.h \
formattexteditor.h \
- command.h
+ command.h \
+ indenter.h
FORMS += \
displaysettingspage.ui \