diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-01-09 00:24:34 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-09 00:24:34 +0100 |
commit | bf4e405e03859bf383f55715944f4f71bd338c34 (patch) | |
tree | 293783d05c079b477b9ef396bbd851ca01714e2d /kate/data/vcard.xml | |
parent | c5189a79b8621b38b53e3cec952d49630e16dd3a (diff) | |
download | tdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.tar.gz tdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.zip |
Update kate syntax highlight files
Diffstat (limited to 'kate/data/vcard.xml')
-rw-r--r-- | kate/data/vcard.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/kate/data/vcard.xml b/kate/data/vcard.xml new file mode 100644 index 000000000..9ee7a2edb --- /dev/null +++ b/kate/data/vcard.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!DOCTYPE language SYSTEM "language.dtd" []> + +<language name="vCard, vCalendar, iCalendar" version="0.2" kateversion="2.5" section="Markup" extensions="*.iCal;*.iCalendar;.ics;*.ifb;*.iFBf;*.vcal;*.vcalendar;*.vcard;*.vcf;" author="Lukas Sommer" mimetype="text/calendar;text/vcard" license="public domain"> + + <highlighting> + + <contexts> + <context attribute="Property" lineEndContext="#stay" name="contextProperty"> + <StringDetect attribute="vCard" String="BEGIN:" beginRegion="region" context="contextAttribute" column="0"/> + <StringDetect attribute="vCard" String="END:" endRegion="region" context="contextAttribute" column="0"/> + <DetectChar char=" " context="contextAttribute" column="0"/> + <DetectChar attribute="Delimiter" context="contextAttribute" char=":" /> + <DetectChar attribute="Delimiter" context="contextParameterKey" char=";" /> + </context> + <context attribute="Parameter key" lineEndContext="#pop" name="contextParameterKey"> + <DetectChar attribute="Assignment" context="contextParameterValue" char="=" /> + <DetectChar attribute="Delimiter" context="contextAttribute" char=":" /> + </context> + <context attribute="Parameter value" lineEndContext="#pop" name="contextParameterValue"> + <DetectChar attribute="Delimiter" context="contextParameterKey" char=";" /> + <DetectChar attribute="Delimiter" context="contextAttribute" char=":" /> + </context> + <context attribute="Attribute" lineEndContext="#pop" name="contextAttribute"> + <DetectChar attribute="Delimiter" char=";" /> + </context> + </contexts> + + <itemDatas> + <itemData name="Assignment" defStyleNum="dsKeyword"/> + <itemData name="Attribute" defStyleNum="dsString"/> + <itemData name="Delimiter" defStyleNum="dsKeyword"/> + <itemData name="Parameter key" defStyleNum="dsFunction"/> + <itemData name="Parameter value" defStyleNum="dsOthers"/> + <itemData name="Property" defStyleNum="dsKeyword"/> <!-- dsDataType --> + <itemData name="vCard" defStyleNum="dsRegionMarker"/> + </itemDatas> + + </highlighting> + + <general> + </general> + +</language> |