~ubuntu-branches/ubuntu/vivid/kate/vivid-updates

« back to all changes in this revision

Viewing changes to part/syntax/data/asterisk.xml

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2014-12-04 16:49:41 UTC
  • mfrom: (1.6.6)
  • Revision ID: package-import@ubuntu.com-20141204164941-l3qbvsly83hhlw2v
Tags: 4:14.11.97-0ubuntu1
* New upstream release
* Update build-deps and use pkg-kde v3 for Qt 5 build
* kate-data now kate5-data for co-installability

Show diffs side-by-side

added added

removed removed

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