summaryrefslogtreecommitdiffstats
path: root/kate/data/css.xml
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:14:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:14:23 -0600
commit7439a4b0e05832e047040ab8bf9ef13abd9288b2 (patch)
tree3a15e3033fa66b2d947daa14e6807b39f3dc84d1 /kate/data/css.xml
parent783973a7d6910fee50d90fcfaf439ae3bbb15b8c (diff)
downloadtdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.tar.gz
tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.zip
Update kate synatax highlighting files
This closes Bug 764
Diffstat (limited to 'kate/data/css.xml')
-rw-r--r--kate/data/css.xml49
1 files changed, 27 insertions, 22 deletions
diff --git a/kate/data/css.xml b/kate/data/css.xml
index 6b24dba0f..02ab43036 100644
--- a/kate/data/css.xml
+++ b/kate/data/css.xml
@@ -8,6 +8,9 @@
Changelog:
+ - Version 2.03, by Milian Wolff:
+ - Make it spelling aware
+
- Version 2.02, by Rafał Miłecki:
- Added CSS 3 properties "border-*-image" and "border-*-radius".
- Added CSS values "clip", "ellipsis" and "ellipsis-word".
@@ -25,7 +28,8 @@
-->
-<language name="CSS" version="2.02" kateversion="2.4" section="Markup" extensions="*.css" mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
+<language name="CSS" version="2.05" kateversion="2.4" section="Markup" extensions="*.css" indenter="cstyle"
+ mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<highlighting>
<list name="properties">
@@ -413,10 +417,10 @@
<item> monospace </item>
<item> border-box </item>
<item> content-box </item>
-
+
<!-- Gecko rendering engine CSS value extensions -->
- <item> -moz-box </item>
-
+ <item> -moz-box </item>
+
</list>
@@ -424,6 +428,7 @@
<item> aqua </item>
<item> black </item>
<item> blue </item>
+ <item> cyan </item>
<item> fuchsia </item>
<item> gray </item>
<item> green </item>
@@ -481,10 +486,10 @@
<!-- in @font-face -->
<item> local </item>
<item> format </item>
-
+
<!-- Trident (a.k.a., MSHTML) rendering engine functional notation extensions -->
<item> expression </item>
-
+
</list>
<list name="mediatypes">
@@ -557,7 +562,7 @@
<!-- finds arguments to properties -->
<context attribute="Normal Text" lineEndContext="#stay" name="FindValues">
- <RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+(em|ex|px|in|cm|mm|pt|pc|deg|rad|grad|ms|s|Hz|kHz)\b" />
+ <RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz)\b" />
<RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+[%]?" />
<RegExpr attribute="Normal Text" context="#stay" String="[\w\-]+" />
</context>
@@ -672,22 +677,22 @@
</contexts>
<itemDatas>
- <itemData name="Normal Text" defStyleNum="dsNormal"/>
- <itemData name="Property" defStyleNum="dsKeyword"/>
- <itemData name="Unknown Property" defStyleNum="dsKeyword" italic="1"/>
- <itemData name="Media" defStyleNum="dsDecVal" bold="1"/>
- <itemData name="At Rule" defStyleNum="dsDecVal" />
- <itemData name="String" defStyleNum="dsString" />
- <itemData name="Value" defStyleNum="dsDataType" />
- <itemData name="Important" defStyleNum="dsKeyword" />
- <itemData name="Selector Attr" defStyleNum="dsChar" />
- <itemData name="Selector Id" defStyleNum="dsFloat" bold="1"/>
- <itemData name="Selector Class" defStyleNum="dsFloat" />
- <itemData name="Selector Pseudo" defStyleNum="dsDecVal" />
+ <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
+ <itemData name="Property" defStyleNum="dsKeyword" spellChecking="false"/>
+ <itemData name="Unknown Property" defStyleNum="dsKeyword" italic="1" spellChecking="false"/>
+ <itemData name="Media" defStyleNum="dsDecVal" bold="1" spellChecking="false"/>
+ <itemData name="At Rule" defStyleNum="dsDecVal" spellChecking="false"/>
+ <itemData name="String" defStyleNum="dsString"/>
+ <itemData name="Value" defStyleNum="dsDataType" spellChecking="false"/>
+ <itemData name="Important" defStyleNum="dsKeyword" spellChecking="false"/>
+ <itemData name="Selector Attr" defStyleNum="dsChar" spellChecking="false"/>
+ <itemData name="Selector Id" defStyleNum="dsFloat" bold="1" spellChecking="false"/>
+ <itemData name="Selector Class" defStyleNum="dsFloat" spellChecking="false"/>
+ <itemData name="Selector Pseudo" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="Comment" defStyleNum="dsComment" />
- <itemData name="Region Marker" defStyleNum="dsRegionMarker"/>
- <itemData name="Alert" defStyleNum="dsAlert"/>
- <itemData name="Error" defStyleNum="dsError"/>
+ <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>
+ <itemData name="Alert" defStyleNum="dsAlert" spellChecking="false"/>
+ <itemData name="Error" defStyleNum="dsError" spellChecking="false"/>
</itemDatas>
</highlighting>
<general>