Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4870 | bpr | 1 | editAreaLoader.load_syntax["wimsdata"] = { |
2 | 'QUOTEMARKS' : {1: ' " '} |
||
3 | ,'KEYWORD_CASE_SENSITIVE' : true |
||
4 | ,'KEYWORDS' : { |
||
5 | 'c' : ['|'] |
||
6 | } |
||
7 | ,'OPERATORS' :[ |
||
8 | '@', '*', '+', '-', '/', '^', ':=', '<', '=', '>','//','$' |
||
9 | ] |
||
10 | ,'DELIMITERS' :[ |
||
11 | '(', ')', '[', ']','{','}','\(', '\)','??','??' |
||
12 | ], |
||
13 | 'REGEXPS' : |
||
14 | { |
||
15 | 'wimsvariables' : { 'search': '(\\$)([a-zA-Z0-9_]*)()', |
||
16 | 'class' : 'wimsvariables', |
||
17 | 'modifiers' : 'g', 'execute' : 'before' }, |
||
18 | 'record' : { 'search': '(\n)(:)()', |
||
19 | 'class' : 'record', |
||
20 | 'modifiers' : 'g', 'execute' : 'before' }, |
||
21 | 'question' : { 'search': '(\\?\\?)([^\\?]+)(\\?\\?)', |
||
22 | 'class' : 'question', |
||
23 | 'modifiers' : 'g', 'execute' : 'after' }, |
||
24 | } |
||
25 | ,'STYLES' : { |
||
26 | 'COMMENTS': 'color: #AAAAAA;' |
||
27 | ,'QUOTESMARKS': 'color: #6381F8;' |
||
28 | ,'KEYWORDS' : { |
||
29 | 'c' : 'color: #48BDDF;' |
||
30 | } |
||
31 | ,'OPERATORS' : 'color: #60CA00;' |
||
32 | ,'DELIMITERS' : 'color: #60CA00;', |
||
33 | 'REGEXPS': { |
||
34 | 'wimsvariables' : 'color: #FF3A6E;' |
||
35 | ,'question' : 'color:red;' |
||
36 | ,'record' : 'color:blue;' |
||
37 | } |
||
38 | } |
||
39 | }; |