texteditor.pro 7.61 KB
Newer Older
1
DEFINES += TEXTEDITOR_LIBRARY
2
QT += gui-private network printsupport xml
3
CONFIG += exceptions
4
CONFIG += include_source_dir # For the highlighter autotest.
5
include(../../qtcreatorplugin.pri)
con's avatar
con committed
6 7
SOURCES += texteditorplugin.cpp \
    plaintexteditorfactory.cpp \
8 9
    textdocument.cpp \
    texteditor.cpp \
10
    behaviorsettings.cpp \
11
    behaviorsettingspage.cpp \
con's avatar
con committed
12 13
    texteditoractionhandler.cpp \
    fontsettingspage.cpp \
14
    texteditorconstants.cpp \
con's avatar
con committed
15 16 17
    tabsettings.cpp \
    storagesettings.cpp \
    displaysettings.cpp \
18
    displaysettingspage.cpp \
con's avatar
con committed
19 20 21 22 23
    fontsettings.cpp \
    linenumberfilter.cpp \
    findinfiles.cpp \
    basefilefind.cpp \
    texteditorsettings.cpp \
con's avatar
con committed
24
    codecselector.cpp \
25
    findincurrentfile.cpp \
26
    findinopenfiles.cpp \
27
    colorscheme.cpp \
28
    colorschemeedit.cpp \
29
    texteditoroverlay.cpp \
30
    texteditoroptionspage.cpp \
31
    textdocumentlayout.cpp \
32 33
    completionsettings.cpp \
    normalindenter.cpp \
34
    indenter.cpp \
35
    quickfix.cpp \
36
    syntaxhighlighter.cpp \
37
    highlighterutils.cpp \
38 39 40 41 42 43 44 45 46 47 48
    generichighlighter/itemdata.cpp \
    generichighlighter/specificrules.cpp \
    generichighlighter/rule.cpp \
    generichighlighter/dynamicrule.cpp \
    generichighlighter/context.cpp \
    generichighlighter/includerulesinstruction.cpp \
    generichighlighter/progressdata.cpp \
    generichighlighter/keywordlist.cpp \
    generichighlighter/highlightdefinition.cpp \
    generichighlighter/highlighter.cpp \
    generichighlighter/manager.cpp \
49 50
    generichighlighter/highlightdefinitionhandler.cpp \
    generichighlighter/highlightersettingspage.cpp \
51 52
    generichighlighter/highlightersettings.cpp \
    generichighlighter/managedefinitionsdialog.cpp \
53
    generichighlighter/definitiondownloader.cpp \
54
    refactoringchanges.cpp \
Kai Koehne's avatar
Kai Koehne committed
55
    refactoroverlay.cpp \
56
    outlinefactory.cpp \
57
    basehoverhandler.cpp \
58
    colorpreviewhoverhandler.cpp \
Leandro Melo's avatar
Leandro Melo committed
59
    helpitem.cpp \
60 61 62 63 64 65
    autocompleter.cpp \
    snippets/snippetssettingspage.cpp \
    snippets/snippet.cpp \
    snippets/snippeteditor.cpp \
    snippets/snippetscollection.cpp \
    snippets/snippetssettings.cpp \
66
    snippets/isnippetprovider.cpp \
67 68
    snippets/plaintextsnippetprovider.cpp \
    behaviorsettingswidget.cpp \
Leandro Melo's avatar
Leandro Melo committed
69 70 71 72 73 74 75 76 77 78
    extraencodingsettings.cpp \
    codeassist/functionhintproposalwidget.cpp \
    codeassist/ifunctionhintproposalmodel.cpp \
    codeassist/functionhintproposal.cpp \
    codeassist/iassistprovider.cpp \
    codeassist/iassistproposal.cpp \
    codeassist/iassistprocessor.cpp \
    codeassist/iassistproposalwidget.cpp \
    codeassist/codeassistant.cpp \
    snippets/snippetassistcollector.cpp \
79 80
    codeassist/assistinterface.cpp \
    codeassist/assistproposalitem.cpp \
Leandro Melo's avatar
Leandro Melo committed
81 82 83
    convenience.cpp \
    codeassist/runner.cpp \
    codeassist/completionassistprovider.cpp \
84
    codeassist/genericproposalmodel.cpp \
Leandro Melo's avatar
Leandro Melo committed
85 86 87 88
    codeassist/quickfixassistprovider.cpp \
    codeassist/quickfixassistprocessor.cpp \
    codeassist/genericproposal.cpp \
    codeassist/genericproposalwidget.cpp \
89
    codeassist/iassistproposalmodel.cpp \
90
    codeassist/textdocumentmanipulator.cpp \
91
    tabsettingswidget.cpp \
Jarek Kobus's avatar
Jarek Kobus committed
92 93
    simplecodestylepreferences.cpp \
    simplecodestylepreferenceswidget.cpp \
94
    icodestylepreferencesfactory.cpp \
Jarek Kobus's avatar
Jarek Kobus committed
95 96 97 98 99
    semantichighlighter.cpp \
    codestyleselectorwidget.cpp \
    typingsettings.cpp \
    icodestylepreferences.cpp \
    codestylepool.cpp \
100
    codestyleeditor.cpp \
101
    circularclipboard.cpp \
102
    circularclipboardassist.cpp \
hjk's avatar
hjk committed
103
    textmark.cpp \
104
    codeassist/keywordscompletionassist.cpp \
105 106
    completionsettingspage.cpp \
    commentssettings.cpp \
107
    marginsettings.cpp
108

con's avatar
con committed
109 110
HEADERS += texteditorplugin.h \
    plaintexteditorfactory.h \
111 112
    texteditor_p.h \
    textdocument.h \
113
    behaviorsettings.h \
114
    behaviorsettingspage.h \
115
    texteditor.h \
con's avatar
con committed
116 117 118 119 120 121
    texteditoractionhandler.h \
    fontsettingspage.h \
    texteditorconstants.h \
    tabsettings.h \
    storagesettings.h \
    displaysettings.h \
122
    displaysettingspage.h \
con's avatar
con committed
123 124 125 126 127 128
    fontsettings.h \
    linenumberfilter.h \
    texteditor_global.h \
    findinfiles.h \
    basefilefind.h \
    texteditorsettings.h \
con's avatar
con committed
129
    codecselector.h \
130
    findincurrentfile.h \
131
    findinopenfiles.h \
132
    colorscheme.h \
133
    colorschemeedit.h \
134
    texteditoroverlay.h \
135
    texteditoroptionspage.h \
136
    textdocumentlayout.h \
137 138
    completionsettings.h \
    normalindenter.h \
139
    indenter.h \
140
    quickfix.h \
141
    syntaxhighlighter.h \
142
    highlighterutils.h \
143 144 145 146 147 148 149 150 151 152 153 154 155 156
    generichighlighter/reuse.h \
    generichighlighter/itemdata.h \
    generichighlighter/specificrules.h \
    generichighlighter/rule.h \
    generichighlighter/reuse.h \
    generichighlighter/dynamicrule.h \
    generichighlighter/context.h \
    generichighlighter/includerulesinstruction.h \
    generichighlighter/progressdata.h \
    generichighlighter/keywordlist.h \
    generichighlighter/highlighterexception.h \
    generichighlighter/highlightdefinition.h \
    generichighlighter/highlighter.h \
    generichighlighter/manager.h \
157 158
    generichighlighter/highlightdefinitionhandler.h \
    generichighlighter/highlightersettingspage.h \
159 160 161
    generichighlighter/highlightersettings.h \
    generichighlighter/managedefinitionsdialog.h \
    generichighlighter/highlightdefinitionmetadata.h \
162
    generichighlighter/definitiondownloader.h \
163
    refactoringchanges.h \
Kai Koehne's avatar
Kai Koehne committed
164 165
    refactoroverlay.h \
    outlinefactory.h \
166
    ioutlinewidget.h \
167
    basehoverhandler.h \
168
    colorpreviewhoverhandler.h \
Leandro Melo's avatar
Leandro Melo committed
169
    helpitem.h \
170 171 172 173 174 175 176
    autocompleter.h \
    snippets/snippetssettingspage.h \
    snippets/snippet.h \
    snippets/snippeteditor.h \
    snippets/snippetscollection.h \
    snippets/reuse.h \
    snippets/snippetssettings.h \
177
    snippets/isnippetprovider.h \
178 179
    snippets/plaintextsnippetprovider.h \
    behaviorsettingswidget.h \
Leandro Melo's avatar
Leandro Melo committed
180 181 182 183 184 185 186 187 188 189
    extraencodingsettings.h \
    codeassist/functionhintproposalwidget.h \
    codeassist/ifunctionhintproposalmodel.h \
    codeassist/functionhintproposal.h \
    codeassist/iassistprovider.h \
    codeassist/iassistprocessor.h \
    codeassist/iassistproposalwidget.h \
    codeassist/iassistproposal.h \
    codeassist/codeassistant.h \
    snippets/snippetassistcollector.h \
190 191
    codeassist/assistinterface.h \
    codeassist/assistproposalitem.h \
Leandro Melo's avatar
Leandro Melo committed
192 193 194
    convenience.h \
    codeassist/assistenums.h \
    codeassist/runner.h \
195
    codeassist/assistproposaliteminterface.h \
Leandro Melo's avatar
Leandro Melo committed
196
    codeassist/completionassistprovider.h \
197
    codeassist/genericproposalmodel.h \
Leandro Melo's avatar
Leandro Melo committed
198 199 200 201
    codeassist/quickfixassistprovider.h \
    codeassist/quickfixassistprocessor.h \
    codeassist/genericproposal.h \
    codeassist/genericproposalwidget.h \
202
    codeassist/iassistproposalmodel.h \
203 204
    codeassist/textdocumentmanipulator.h \
    codeassist/textdocumentmanipulatorinterface.h \
205
    tabsettingswidget.h \
Jarek Kobus's avatar
Jarek Kobus committed
206 207
    simplecodestylepreferences.h \
    simplecodestylepreferenceswidget.h \
208
    icodestylepreferencesfactory.h \
Jarek Kobus's avatar
Jarek Kobus committed
209 210 211 212 213
    semantichighlighter.h \
    codestyleselectorwidget.h \
    typingsettings.h \
    icodestylepreferences.h \
    codestylepool.h \
214
    codestyleeditor.h \
215
    circularclipboard.h \
216
    circularclipboardassist.h \
hjk's avatar
hjk committed
217
    textmark.h \
218
    codeassist/keywordscompletionassist.h \
hjk's avatar
hjk committed
219
    textmarkregistry.h \
220
    marginsettings.h \
221
    blockrange.h \
222 223
    completionsettingspage.h \
    commentssettings.h \
224
    textstyles.h
225

226
FORMS += \
227
    displaysettingspage.ui \
228
    fontsettingspage.ui \
229
    colorschemeedit.ui \
230
    generichighlighter/highlightersettingspage.ui \
231
    generichighlighter/managedefinitionsdialog.ui \
232 233
    snippets/snippetssettingspage.ui \
    behaviorsettingswidget.ui \
234
    behaviorsettingspage.ui \
235
    tabsettingswidget.ui \
236
    completionsettingspage.ui \
237
    codestyleselectorwidget.ui
con's avatar
con committed
238
RESOURCES += texteditor.qrc
239 240

equals(TEST, 1) {
241
SOURCES += texteditor_test.cpp
242 243
}