diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch) | |
tree | 5ac38a06f3dde268dc7927dc155896926aaf7012 /kate/data/ini.xml | |
download | tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/data/ini.xml')
-rw-r--r-- | kate/data/ini.xml | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/kate/data/ini.xml b/kate/data/ini.xml new file mode 100644 index 000000000..af0808f8c --- /dev/null +++ b/kate/data/ini.xml @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="INI Files" section="Configuration" extensions="*.ini;*.pls" mimetype="" version="1.0" author="Jan Janssen (medhefgo@web.de)" license="LGPL"> + +<highlighting> +<list name="keywords"> +<item>On</item> +<item>Off</item> +<item>Default</item> +<item>Defaults</item> +<item>Localhost</item> +<item>Null</item> +<item>True</item> +<item>False</item> +<item>Yes</item> +<item>No</item> +<item>Normal</item> + +<!-- PHP Keywords --> +<item>E_ALL</item> +<item>E_ERROR</item> +<item>E_WARNING</item> +<item>E_PARSE</item> +<item>E_NOTICE</item> +<item>E_STRICT</item> +<item>E_CORE_ERROR</item> +<item>E_CORE_WARNING</item> +<item>E_COMPILE_ERROR</item> +<item>E_COMPILE_WARNING</item> +<item>E_USER_ERROR</item> +<item>E_USER_WARNING</item> +<item>E_USER_NOTICE</item> +</list> + +<contexts> + <context name="ini" attribute="Normal Text" lineEndContext="#stay"> + <RangeDetect attribute="Section" context="#pop" char="[" char1="]" beginRegion="Section" endRegion="Section" /> + <DetectChar attribute="Assignment" context="Value" char="=" /> + <DetectChar char=";" attribute="Comment" context="Comment" firstNonSpace="true" /> + <DetectChar char="#" attribute="Comment" context="Comment" firstNonSpace="true" /> + </context> + + <context name="Value" attribute="Value" lineEndContext="#pop" > + <Float attribute="Float" /> + <Int attribute="Int" /> + <keyword attribute="Keyword" String="keywords" /> + <RegExpr attribute="Comment" context="#pop" String=";.*$" /> + <RegExpr attribute="Comment" context="#pop" String="#.*$" /> + </context> + + <context name="Comment" attribute="Comment" lineEndContext="#pop"> + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + </context> +</contexts> + + +<itemDatas> + <itemData name="Normal Text" defStyleNum="dsDataType" /> + <itemData name="Section" defStyleNum="dsKeyword" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Assignment" defStyleNum="dsOthers" /> + <itemData name="Value" defStyleNum="dsString" /> + <itemData name="Float" defStyleNum="dsFloat" /> + <itemData name="Int" defStyleNum="dsDecVal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> +</itemDatas> +</highlighting> + + +<general> + <comments> + <comment name="singleLine" start="#" /> + <comment name="singleLine" start=";" /> + </comments> + <keywords casesensitive="0" /> +</general> + +</language> |