diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 16:14:23 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 16:14:23 -0600 |
commit | 7439a4b0e05832e047040ab8bf9ef13abd9288b2 (patch) | |
tree | 3a15e3033fa66b2d947daa14e6807b39f3dc84d1 /kate/data/qmake.xml | |
parent | 783973a7d6910fee50d90fcfaf439ae3bbb15b8c (diff) | |
download | tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.tar.gz tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.zip |
Update kate synatax highlighting files
This closes Bug 764
Diffstat (limited to 'kate/data/qmake.xml')
-rw-r--r-- | kate/data/qmake.xml | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/kate/data/qmake.xml b/kate/data/qmake.xml new file mode 100644 index 000000000..d267033c4 --- /dev/null +++ b/kate/data/qmake.xml @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="QMake" section="Other" extensions="*.pro;*.pri;" mimetype="" version="1.1" kateversion="2.0" author="Milian Wolff (mail@milianw.de)" license="LGPL"> + +<highlighting> + <list name="variables"> + <item>CONFIG</item> + <item>DEFINES</item> + <item>DESTDIR</item> + <item>DLLDESTDIR</item> + <item>FORMS</item> + <item>HEADERS</item> + <item>INCLUDEPATH</item> + <item>INSTALLS</item> + <item>LIBS</item> + <item>OBJECTIVE_SOURCES</item> + <item>OTHER_FILES</item> + <item>OUT_PWD</item> + <item>QMAKE_CXXFLAGS</item> + <item>QMAKE_EXTRA_COMPILERS</item> + <item>QMAKE_FILE_IN</item> + <item>QMAKE_FILE_OUT</item> + <item>QMAKE_LFLAGS</item> + <item>QMAKE_LFLAGS_SONAME</item> + <item>QMAKE_RPATHDIR</item> + <item>QMAKE_SUBSTITUTES</item> + <item>QT</item> + <item>QT_CONFIG</item> + <item>QT_MAJOR_VERSION</item> + <item>QT_MINOR_VERSION</item> + <item>QT_PATCH_VERSION</item> + <item>RCC_DIR</item> + <item>RESOURCES</item> + <item>SOURCES</item> + <item>SUBDIRS</item> + <item>TARGET</item> + <item>TEMPLATE</item> + <item>UI_DIR</item> + <item>MOC_DIR</item> + <item>OBJECTS_DIR</item> + </list> + <list name="functions"> + <item>contains</item> + <item>defineReplace</item> + <item>defineTest</item> + <item>equals</item> + <item>error</item> + <item>eval</item> + <item>greaterThan</item> + <item>include</item> + <item>isEmpty</item> + <item>isEqual</item> + <item>message</item> + <item>return</item> + <item>unset</item> + </list> + <list name="systems"> + <item>build_pass</item> + <item>debug</item> + <item>debug_and_release</item> + <item>linux</item> + <item>macx</item> + <item>msvc</item> + <item>release</item> + <item>unix</item> + <item>win32</item> + </list> + <list name="keywords"> + <item>else</item> + <item>for</item> + <item>if</item> + </list> + + <contexts> + <context name="normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Predefined Variable" String="variables" /> + <keyword attribute="Function" String="functions" /> + <keyword attribute="System" String="systems" /> + <keyword attribute="Keyword" String="keywords" /> + <DetectChar char="#" attribute="Comment" context="Comment" /> + <RegExpr attribute="Variable" context="#stay" String="\$\$?[a-zA-Z0-9_]+" /> + <RegExpr attribute="Variable" context="#stay" String="\$\$\{[^\}]*\}" /> + <RegExpr attribute="Variable" context="#stay" String="\$\$\[[^\]]*\]" /> + <RegExpr attribute="Variable" context="#stay" String="\$\$\([^\)]*\)" /> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="\" /> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1=""" /> + <DetectChar char=""" attribute="String" context="String" /> + </context> + + <context name="String" attribute="String" lineEndContext="#stay"> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="\" /> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1=""" /> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + <context name="Comment" attribute="Comment" lineEndContext="#pop"> + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" /> + <itemData name="Predefined Variable" defStyleNum="dsDataType" bold="1" spellChecking="false" /> + <itemData name="Variable" defStyleNum="dsDataType" spellChecking="false" /> + <itemData name="Function" defStyleNum="dsFunction" spellChecking="false" /> + <itemData name="System" defStyleNum="dsOthers" spellChecking="false" /> + <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false" /> + <itemData name="String" defStyleNum="dsString" spellChecking="false" /> + <itemData name="Backslash Code" defStyleNum="dsKeyword" bold="1" spellChecking="false" /> + <itemData name="Comment" defStyleNum="dsComment" /> + </itemDatas> +</highlighting> + +<general> + <comments> + <comment name="singleLine" start="#" /> + </comments> + <keywords casesensitive="1" /> +</general> + +</language> +<!-- kate: indent-width 2; -->
\ No newline at end of file |