texteditor.qbs 8.26 KB
Newer Older
Joerg Bornemann's avatar
Joerg Bornemann committed
1 2 3 4 5 6 7
import qbs.base 1.0

import "../QtcPlugin.qbs" as QtcPlugin

QtcPlugin {
    name: "TextEditor"

Yuchen Deng's avatar
Yuchen Deng committed
8
    Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script", "printsupport"] }
Orgad Shaneh's avatar
Orgad Shaneh committed
9
    Depends { name: "Core" }
Orgad Shaneh's avatar
Orgad Shaneh committed
10 11
    Depends { name: "Find" }
    Depends { name: "Locator" }
Joerg Bornemann's avatar
Joerg Bornemann committed
12

13
    cpp.includePaths: base.concat([
Joerg Bornemann's avatar
Joerg Bornemann committed
14 15
        "generichighlighter",
        "snippets",
Orgad Shaneh's avatar
Orgad Shaneh committed
16 17
        "codeassist",
        "."
18
    ])
Joerg Bornemann's avatar
Joerg Bornemann committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45

    files: [
        "TextEditor.mimetypes.xml",
        "autocompleter.cpp",
        "autocompleter.h",
        "basefilefind.cpp",
        "basefilefind.h",
        "basefilefind_p.h",
        "basehoverhandler.cpp",
        "basehoverhandler.h",
        "basetextdocument.cpp",
        "basetextdocument.h",
        "basetextdocumentlayout.cpp",
        "basetextdocumentlayout.h",
        "basetexteditor.cpp",
        "basetexteditor.h",
        "basetexteditor_p.h",
        "basetextmark.cpp",
        "basetextmark.h",
        "behaviorsettings.cpp",
        "behaviorsettings.h",
        "behaviorsettingspage.cpp",
        "behaviorsettingspage.h",
        "behaviorsettingspage.ui",
        "behaviorsettingswidget.cpp",
        "behaviorsettingswidget.h",
        "behaviorsettingswidget.ui",
Orgad Shaneh's avatar
Orgad Shaneh committed
46
        "circularclipboard.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
47
        "circularclipboard.h",
48 49
        "circularclipboardassist.cpp",
        "circularclipboardassist.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
50 51 52
        "codecselector.cpp",
        "codecselector.h",
        "codestyleeditor.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
53
        "codestyleeditor.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
54 55 56 57 58 59
        "codestylepool.cpp",
        "codestylepool.h",
        "codestyleselectorwidget.cpp",
        "codestyleselectorwidget.h",
        "codestyleselectorwidget.ui",
        "colorscheme.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
60
        "colorscheme.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
61 62
        "colorschemeedit.cpp",
        "colorschemeedit.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
63
        "colorschemeedit.ui",
Joerg Bornemann's avatar
Joerg Bornemann committed
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
        "completionsettings.cpp",
        "completionsettings.h",
        "convenience.cpp",
        "convenience.h",
        "displaysettings.cpp",
        "displaysettings.h",
        "displaysettingspage.cpp",
        "displaysettingspage.h",
        "displaysettingspage.ui",
        "extraencodingsettings.cpp",
        "extraencodingsettings.h",
        "findincurrentfile.cpp",
        "findincurrentfile.h",
        "findinfiles.cpp",
        "findinfiles.h",
        "findinopenfiles.cpp",
        "findinopenfiles.h",
        "fontsettings.cpp",
        "fontsettings.h",
        "fontsettingspage.cpp",
        "fontsettingspage.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
85
        "fontsettingspage.ui",
Joerg Bornemann's avatar
Joerg Bornemann committed
86 87 88
        "helpitem.cpp",
        "helpitem.h",
        "icodestylepreferences.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
89
        "icodestylepreferences.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
90 91 92 93 94 95 96
        "icodestylepreferencesfactory.cpp",
        "icodestylepreferencesfactory.h",
        "indenter.cpp",
        "indenter.h",
        "ioutlinewidget.h",
        "itexteditor.cpp",
        "itexteditor.h",
97 98
        "itextmark.cpp",
        "itextmark.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
99 100 101 102 103 104 105
        "linenumberfilter.cpp",
        "linenumberfilter.h",
        "normalindenter.cpp",
        "normalindenter.h",
        "outlinefactory.cpp",
        "outlinefactory.h",
        "plaintexteditor.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
106
        "plaintexteditor.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
107 108 109 110 111 112 113 114 115 116 117 118 119
        "plaintexteditorfactory.cpp",
        "plaintexteditorfactory.h",
        "quickfix.cpp",
        "quickfix.h",
        "refactoringchanges.cpp",
        "refactoringchanges.h",
        "refactoroverlay.cpp",
        "refactoroverlay.h",
        "semantichighlighter.cpp",
        "semantichighlighter.h",
        "simplecodestylepreferences.cpp",
        "simplecodestylepreferences.h",
        "simplecodestylepreferenceswidget.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
120
        "simplecodestylepreferenceswidget.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
121 122 123 124 125 126 127 128 129
        "storagesettings.cpp",
        "storagesettings.h",
        "syntaxhighlighter.cpp",
        "syntaxhighlighter.h",
        "tabsettings.cpp",
        "tabsettings.h",
        "tabsettingswidget.cpp",
        "tabsettingswidget.h",
        "tabsettingswidget.ui",
Orgad Shaneh's avatar
Orgad Shaneh committed
130 131
        "texteditor.qrc",
        "texteditor_global.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
132 133
        "texteditoractionhandler.cpp",
        "texteditoractionhandler.h",
134
        "texteditorconstants.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
135 136 137 138 139 140 141 142 143 144 145 146 147 148
        "texteditorconstants.h",
        "texteditoroptionspage.cpp",
        "texteditoroptionspage.h",
        "texteditoroverlay.cpp",
        "texteditoroverlay.h",
        "texteditorplugin.cpp",
        "texteditorplugin.h",
        "texteditorsettings.cpp",
        "texteditorsettings.h",
        "textfilewizard.cpp",
        "textfilewizard.h",
        "typingsettings.cpp",
        "typingsettings.h",
    ]
Orgad Shaneh's avatar
Orgad Shaneh committed
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189

    Group {
        prefix: "codeassist/"
        files: [
            "assistenums.h",
            "basicproposalitem.cpp",
            "basicproposalitem.h",
            "basicproposalitemlistmodel.cpp",
            "basicproposalitemlistmodel.h",
            "codeassistant.cpp",
            "codeassistant.h",
            "completionassistprovider.cpp",
            "completionassistprovider.h",
            "defaultassistinterface.cpp",
            "defaultassistinterface.h",
            "functionhintproposal.cpp",
            "functionhintproposal.h",
            "functionhintproposalwidget.cpp",
            "functionhintproposalwidget.h",
            "genericproposal.cpp",
            "genericproposal.h",
            "genericproposalwidget.cpp",
            "genericproposalwidget.h",
            "iassistinterface.cpp",
            "iassistinterface.h",
            "iassistprocessor.cpp",
            "iassistprocessor.h",
            "iassistproposal.cpp",
            "iassistproposal.h",
            "iassistproposalitem.cpp",
            "iassistproposalitem.h",
            "iassistproposalmodel.cpp",
            "iassistproposalmodel.h",
            "iassistproposalwidget.cpp",
            "iassistproposalwidget.h",
            "iassistprovider.cpp",
            "iassistprovider.h",
            "ifunctionhintproposalmodel.cpp",
            "ifunctionhintproposalmodel.h",
            "igenericproposalmodel.cpp",
            "igenericproposalmodel.h",
190 191 192
            "ikeywords.h",
            "keywordscompletionassist.cpp",
            "keywordscompletionassist.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
            "quickfixassistprocessor.cpp",
            "quickfixassistprocessor.h",
            "quickfixassistprovider.cpp",
            "quickfixassistprovider.h",
            "runner.cpp",
            "runner.h",
        ]
    }

    Group {
        prefix: "generichighlighter/"
        files: [
            "context.cpp",
            "context.h",
            "definitiondownloader.cpp",
            "definitiondownloader.h",
            "dynamicrule.cpp",
            "dynamicrule.h",
            "highlightdefinition.cpp",
            "highlightdefinition.h",
            "highlightdefinitionhandler.cpp",
            "highlightdefinitionhandler.h",
            "highlightdefinitionmetadata.cpp",
            "highlightdefinitionmetadata.h",
            "highlighter.cpp",
            "highlighter.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
219
            "highlighterexception.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
            "highlightersettings.cpp",
            "highlightersettings.h",
            "highlightersettingspage.cpp",
            "highlightersettingspage.h",
            "highlightersettingspage.ui",
            "includerulesinstruction.cpp",
            "includerulesinstruction.h",
            "itemdata.cpp",
            "itemdata.h",
            "keywordlist.cpp",
            "keywordlist.h",
            "managedefinitionsdialog.cpp",
            "managedefinitionsdialog.h",
            "managedefinitionsdialog.ui",
            "manager.cpp",
            "manager.h",
            "progressdata.cpp",
            "progressdata.h",
            "reuse.h",
            "rule.cpp",
            "rule.h",
            "specificrules.cpp",
            "specificrules.h",
        ]
    }

    Group {
        prefix: "snippets/"
        files: [
            "isnippetprovider.cpp",
            "isnippetprovider.h",
            "plaintextsnippetprovider.cpp",
            "plaintextsnippetprovider.h",
            "reuse.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
254 255
            "snippet.cpp",
            "snippet.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
256 257 258 259 260 261 262 263 264 265 266 267 268 269
            "snippetassistcollector.cpp",
            "snippetassistcollector.h",
            "snippeteditor.cpp",
            "snippeteditor.h",
            "snippetscollection.cpp",
            "snippetscollection.h",
            "snippetssettings.cpp",
            "snippetssettings.h",
            "snippetssettingspage.cpp",
            "snippetssettingspage.h",
            "snippetssettingspage.ui",
        ]
    }

270
    Export {
271 272 273
        Depends { name: "Find" }
        Depends { name: "Locator" }
    }
Joerg Bornemann's avatar
Joerg Bornemann committed
274
}