blob: e76a1e35c1f127c9a0a6c76fddf6389968e67f75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
*************************************************************************
* *
* Syntax highlighting for the AVR Assembler *
* Copyright (C) 2004, Roland Nagy *
* *
*************************************************************************
Author: UNGAR Didier <[email protected]>
Date: 22 04 2009
Version: 1.0
-->
<language name="Asterisk" version="1.00" kateversion="2.4" section="Configuration" extensions="*asterisk/*.conf" mimetype="" author="UNGAR Didier" license="GPL">
<highlighting>
<list name="keywords">
<item>AGI</item>
<item>Answer</item>
<item>Dial</item>
<item>Hangup</item>
<item>GoTo</item>
<item>GoToIf</item>
<item>GoToIfTime</item>
<item>NoOp</item>
<item>PlayBack</item>
<item>Read</item>
<item>SayDigits</item>
<item>SayNumber</item>
<item>Set</item>
<item>SetCallerPres</item>
<item>System</item>
<item>Wait</item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
<RegExpr attribute="Label" context="#stay" String="^\[[A-Za-z0-9_]+\]$" />
<RegExpr attribute="Keyword" context="#stay" String="TIMEOUT\(absolute\)=[0-9]+" />
<RegExpr attribute="Keyword" context="#stay" String="[A-Za-z0-9_]+=\$\{CUT\(params,-,([1-9]|[1-9][0-9]+)\)\}" />
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<RegExpr attribute="Normal Text" context="#stay" String="[A-Za-z_.$][A-Za-z0-9_.$]*" />
<DetectChar attribute="String" context="String" char=""" />
<DetectChar attribute="Comment" context="Commentar 2" char=";" />
<AnyChar attribute="Symbol" context="#stay" String="!#%&*()+,-<=>?/:[]^{|}~" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar 1">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" />
</context>
<context attribute="Comment" lineEndContext="#pop" name="Commentar 2" />
<context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor" />
<context attribute="String" lineEndContext="#pop" name="String">
<LineContinue attribute="String" context="Some Context" />
<HlCStringChar attribute="String Char" context="#stay" />
<DetectChar attribute="String" context="#pop" char=""" />
</context>
<context attribute="Normal Text" lineEndContext="#pop" name="Some Context" />
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Label" defStyleNum="dsFunction" />
<itemData name="Keyword" defStyleNum="dsKeyword" />
<itemData name="String" defStyleNum="dsString" />
<itemData name="Symbol" defStyleNum="dsNormal" />
<itemData name="Comment" defStyleNum="dsComment" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start=";" />
</comments>
<keywords casesensitive="0" weakDeliminator="_.$" />
</general>
</language>
|