summaryrefslogtreecommitdiffstats
path: root/kate/data/alert.xml
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-10 21:10:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-10 21:10:08 +0900
commit0290dbaf6c3a1b5a82e38ffba2c4fd5272511642 (patch)
treefed93d7526cccb9a976ab885e40c612b23ae5beb /kate/data/alert.xml
parent1afbea2c258885f6b579394d9901529953c5666c (diff)
downloadtdelibs-0290dbaf6c3a1b5a82e38ffba2c4fd5272511642.tar.gz
tdelibs-0290dbaf6c3a1b5a82e38ffba2c4fd5272511642.zip
Reverted alert style definition for Kate's syntax highlighting. This resolves bug 2050.
Diffstat (limited to 'kate/data/alert.xml')
-rw-r--r--kate/data/alert.xml43
1 files changed, 13 insertions, 30 deletions
diff --git a/kate/data/alert.xml b/kate/data/alert.xml
index ab6c76ab4..2fe639f3c 100644
--- a/kate/data/alert.xml
+++ b/kate/data/alert.xml
@@ -25,54 +25,37 @@
This file is included in every file that highlights the "alerts" keywords.
That's why extensions and mimetype are empty.
-
- Changes by Alex Turbov:
- Introduce 3 alert levels and sort keywords according importance.
- Few more keywords has been added.
-->
-<language version="1.09-1" kateversion="2.3" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">
+<language version="1.09-2" kateversion="2.3" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">
<highlighting>
- <list name="alerts_hi">
+ <list name="alerts">
+ <item> ### </item>
<item> ALERT </item>
- <item> ATTENTION </item>
- <item> DANGER </item>
- <item> HACK </item>
- <item> SECURITY </item>
- </list>
- <list name="alerts_mid">
<item> BUG </item>
- <item> FIXME </item>
+ <item> DANGER </item>
<item> DEPRECATED </item>
- <item> TASK </item>
- <item> TODO </item>
- <item> TBD </item>
- <item> WARNING </item>
- <item> CAUTION </item>
- <item> NOLINT </item>
- </list>
- <list name="alerts_lo">
- <item> ### </item>
+ <item> FIXME </item>
+ <item> HACK </item>
<item> NOTE </item>
<item> NOTICE </item>
+ <item> SECURITY </item>
+ <item> TASK </item>
<item> TEST </item>
<item> TESTING </item>
+ <item> TODO </item>
+ <item> WARNING </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
- <keyword attribute="Alert Level 1" context="#stay" String="alerts_hi" />
- <keyword attribute="Alert Level 2" context="#stay" String="alerts_mid" />
- <keyword attribute="Alert Level 3" context="#stay" String="alerts_lo" />
+ <keyword attribute="Alert" context="#stay" String="alerts" />
</context>
</contexts>
<itemDatas>
- <itemData name="Normal Text" defStyleNum="dsNormal"/>
- <itemData name="Alert Level 1" defStyleNum="dsAlert" color="#e85848" selColor="#e85848" backgroundColor="#451e1a" />
- <itemData name="Alert Level 2" defStyleNum="dsAlert" color="#ca9219" selColor="#ca9219" backgroundColor="#451e1a" />
- <itemData name="Alert Level 3" defStyleNum="dsAlert" color="#81ca2d" selColor="#81ca2d" />
+ <itemData name="Normal Text" defStyleNum="dsNormal"/>
+ <itemData name="Alert" defStyleNum="dsAlert"/>
</itemDatas>
</highlighting>
<general>
<keywords casesensitive="1"/>
</general>
</language>
-<!-- kate: indent-width 2; -->