~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/sdk/resources/lexers/lexer_prg.xml

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!DOCTYPE CodeBlocks_lexer_properties>
 
3
<CodeBlocks_lexer_properties>
 
4
                <Lexer name="XBase"
 
5
                                index="73"
 
6
                                filemasks="*.prg,*.spr">
 
7
                                <Style name="Default"
 
8
                                                index="0"
 
9
                                                fg="0,0,0"
 
10
                                                bg="255,255,255"
 
11
                                                bold="0"
 
12
                                                italics="0"
 
13
                                                underlined="0"/>
 
14
                <Style name="Comment"
 
15
                        index="1,2,3,4,5,6"
 
16
                        fg="128,128,128"
 
17
                        bg="255,255,255"
 
18
                        bold="0"
 
19
                        italics="0"
 
20
                        underlined="0"/>
 
21
                <Style name="Keywords"
 
22
                        index="7"
 
23
                        fg="0,64,210"
 
24
                        bg="255,255,255"
 
25
                        bold="0"
 
26
                        italics="0"
 
27
                        underlined="0"/>
 
28
                <Style name="Keywords2"
 
29
                        index="8,9,10"
 
30
                        fg="0,0,255"
 
31
                        bg="255,255,255"
 
32
                        bold="1"
 
33
                        italics="0"
 
34
                        underlined="0"/>
 
35
                                <Style name="Number"
 
36
                                                index="11,22,23"
 
37
                                                fg="128,0,128"
 
38
                                                bold="1" />
 
39
                                <Style name="String"
 
40
                                                index="12"
 
41
                                                fg="0,0,160"
 
42
                                                bg="255,255,255"/>
 
43
                <Style name="Preprocessor"
 
44
                        index="13"
 
45
                        fg="0,160,0"
 
46
                        bg="255,255,255"/>
 
47
                                <Style name="Operator"
 
48
                                                index="14"
 
49
                                                fg="0,128,128"
 
50
                                                bg="255,255,255"
 
51
                                                bold="1"/>
 
52
                <Style name="Identifier"
 
53
                        index="15"
 
54
                        fg="0,0,0"
 
55
                        bg="255,255,255"/>
 
56
                <Style name="Date"
 
57
                        index="16"
 
58
                        fg="255,192,0"
 
59
                        bg="255,255,255"/>
 
60
                <Style name="Label"
 
61
                        index="20"
 
62
                        fg="0,0,0"
 
63
                        bg="255,255,255"
 
64
                        bold="1"/>
 
65
                                <Style name="Selection"
 
66
                                                index="-99"
 
67
                                                bg="192,192,192"/>
 
68
                                <Style name="Active line"
 
69
                                                index="-98"
 
70
                                                bg="255,255,160"/>
 
71
                                <Style name="Compiler error line"
 
72
                                                index="-4"
 
73
                                                bg="255,128,0"/>
 
74
                                <Keywords>
 
75
                        <!-- Keywords -->
 
76
                                                <Set index="0"
 
77
                            value="if iif then else endif do exit loop enddo
 
78
                                   while endwhile for to endfor next scan break go
 
79
                                   goto endscan end case otherwise endcase and or
 
80
                                   not .and. .or. .not. null .null. true .t. .y. .f.
 
81
                                   false define class enddefine return master
 
82
                                   procedure proc end endproc function endfunc local
 
83
                                   private global public form parameters params int
 
84
                                   date time file word array on error at"/>
 
85
                        <!-- Functions -->
 
86
                        <Set index="1"
 
87
                            value="aadd ctod month row abs fcount lastrec
 
88
                                    pcol rtrim transform asc day fieldname len chr
 
89
                                    pcount seconds trim deleted lock prow select
 
90
                                    break devpos flock log reccount setpos upper
 
91
                                    bof dow found lower recno space cdow dtoc ltrim
 
92
                                    replicate sqrt dtos max rlock str val type
 
93
                                    valtype cmonth empty inkey min round substr year
 
94
                                    col eof browse select into close clear message
 
95
                                    messagebox wait"/>
 
96
                        <!-- User defined -->
 
97
                        <Set index="2"
 
98
                            value=""/>
 
99
                        <!-- User defined -->
 
100
                        <Set index="3"
 
101
                            value=""/>
 
102
                                </Keywords>
 
103
                                <SampleCode value="lexer_prg.sample"
 
104
                                                error_line="25"/>
 
105
                </Lexer>
 
106
</CodeBlocks_lexer_properties>