alert.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE language SYSTEM "language.dtd">
  3. <language version="7" kateversion="3.1" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhaumann@kde.org)" license="MIT" hidden="true">
  4. <highlighting>
  5. <list name="alerts_hi">
  6. <item>ALERT</item>
  7. <item>ATTENTION</item>
  8. <item>DANGER</item>
  9. <item>HACK</item>
  10. <item>SECURITY</item>
  11. </list>
  12. <list name="alerts_mid">
  13. <item>BUG</item>
  14. <item>FIXME</item>
  15. <item>DEPRECATED</item>
  16. <item>TASK</item>
  17. <item>TODO</item>
  18. <item>TBD</item>
  19. <item>WARNING</item>
  20. <item>CAUTION</item>
  21. <item>NOLINT</item>
  22. <item>NOQA</item>
  23. </list>
  24. <list name="alerts_lo">
  25. <item>###</item>
  26. <item>NOTE</item>
  27. <item>NOTICE</item>
  28. <item>TEST</item>
  29. <item>TESTING</item>
  30. </list>
  31. <contexts>
  32. <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
  33. <StringDetect attribute="Region Marker" context="#stay" String="{{{" beginRegion="AlertRegion1" />
  34. <StringDetect attribute="Region Marker" context="#stay" String="}}}" endRegion="AlertRegion1" />
  35. <WordDetect attribute="Region Marker" context="#stay" String="BEGIN" beginRegion="AlertRegion2" />
  36. <WordDetect attribute="Region Marker" context="#stay" String="END" endRegion="AlertRegion2" />
  37. <keyword attribute="Alert Level 1" context="#stay" String="alerts_hi" />
  38. <keyword attribute="Alert Level 2" context="#stay" String="alerts_mid" />
  39. <keyword attribute="Alert Level 3" context="#stay" String="alerts_lo" />
  40. </context>
  41. </contexts>
  42. <itemDatas>
  43. <itemData name="Normal Text" defStyleNum="dsNormal"/>
  44. <itemData name="Alert Level 1" defStyleNum="dsAlert" color="#e85848" selColor="#e85848" backgroundColor="#451e1a" />
  45. <itemData name="Alert Level 2" defStyleNum="dsAlert" color="#ca9219" selColor="#ca9219" backgroundColor="#451e1a" />
  46. <itemData name="Alert Level 3" defStyleNum="dsAlert" color="#81ca2d" selColor="#81ca2d" />
  47. <itemData name="Region Marker" defStyleNum="dsRegionMarker"/>
  48. </itemDatas>
  49. </highlighting>
  50. <general>
  51. <!-- NO-BREAK SPACE (nbsp) as deliminator -->
  52. <keywords casesensitive="1" additionalDeliminator="&#160;"/>
  53. </general>
  54. </language>
  55. <!-- kate: indent-width 2; -->