summaryrefslogtreecommitdiffstats
path: root/kate/data/scss.xml
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-07-28 19:12:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-07-28 19:12:40 +0900
commitaa18c1556b6e122f4b414639cf091e1e3848b974 (patch)
treed6e4f87bbb5fe01930418319e474ba923a750dfa /kate/data/scss.xml
parent1bb6f88d298d1019c0c635dbff197a6a57d16c26 (diff)
downloadtdelibs-aa18c1556b6e122f4b414639cf091e1e3848b974.tar.gz
tdelibs-aa18c1556b6e122f4b414639cf091e1e3848b974.zip
Kate syntax highlighting files update - Jul 2014
Diffstat (limited to 'kate/data/scss.xml')
-rw-r--r--kate/data/scss.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/kate/data/scss.xml b/kate/data/scss.xml
index 69a5826a6..9aa1ad80c 100644
--- a/kate/data/scss.xml
+++ b/kate/data/scss.xml
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE language SYSTEM "language.dtd">
+<!DOCTYPE language SYSTEM "language.dtd"
+[
+ <!-- http://www.w3.org/TR/CSS21/syndata.html#tokenization -->
+ <!ENTITY nmstart "[_a-zA-Z]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F])">
+ <!ENTITY nmchar "[_a-zA-Z0-9-]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F])">
+]>
<!--
@@ -20,7 +25,7 @@ Changelog:
-->
-<language name="SCSS" version="2.04" kateversion="2.4" section="Markup" extensions="*.scss" indenter="cstyle" mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
+<language name="SCSS" version="2.05" kateversion="2.4" section="Markup" extensions="*.scss" indenter="cstyle" mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<highlighting>
<list name="properties">
@@ -680,7 +685,7 @@ Changelog:
<DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" />
<!--parse selectors-->
<DetectChar attribute="Selector Attr" context="SelAttr" char="[" />
- <RegExpr attribute="Selector Id" context="#stay" String="#([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
+ <RegExpr attribute="Selector Id" context="#stay" String="#(-)?(&nmstart;)(&nmchar;)*" />
<RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
<RegExpr attribute="Selector Pseudo" context="#stay" String=":lang\([\w_-]+\)" />
<DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />