Rev 4870 | Details | Compare with Previous | 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 | '(', ')', '[', ']','{','}','\(', '\)','??','??' |
||
4874 | bpr | 12 | ] |
13 | ,'REGEXPS' : |
||
4870 | bpr | 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', |
||
4874 | bpr | 23 | 'modifiers' : 'g', 'execute' : 'after' } |
4870 | bpr | 24 | } |
25 | ,'STYLES' : { |
||
4874 | bpr | 26 | 'COMMENTS': 'color: #0000CD;' |
4870 | bpr | 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;' |
||
4874 | bpr | 35 | ,'question' : 'color:#985717;' |
4870 | bpr | 36 | ,'record' : 'color:blue;' |
37 | } |
||
38 | } |
||
39 | }; |