Rev 4870 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4870 | bpr | 1 | /* |
2 | * last update: 2006-08-24 |
||
3 | */ |
||
4 | |||
5 | editAreaLoader.load_syntax["html"] = { |
||
8475 | bpr | 6 | 'DISPLAY_NAME' : 'HTML' |
7 | ,'COMMENT_SINGLE' : {} |
||
4870 | bpr | 8 | ,'COMMENT_MULTI' : {'<!--' : '-->'} |
9 | ,'QUOTEMARKS' : {1: "'", 2: '"'} |
||
10 | ,'KEYWORD_CASE_SENSITIVE' : false |
||
11 | ,'KEYWORDS' : { |
||
12 | } |
||
13 | ,'OPERATORS' :[ |
||
14 | ] |
||
15 | ,'DELIMITERS' :[ |
||
16 | ] |
||
17 | ,'REGEXPS' : { |
||
18 | 'doctype' : { |
||
19 | 'search' : '()(<!DOCTYPE[^>]*>)()' |
||
20 | ,'class' : 'doctype' |
||
21 | ,'modifiers' : '' |
||
22 | ,'execute' : 'before' // before or after |
||
23 | } |
||
24 | ,'tags' : { |
||
25 | 'search' : '(<)(/?[a-z][^ \r\n\t>]*)([^>]*>)' |
||
26 | ,'class' : 'tags' |
||
27 | ,'modifiers' : 'gi' |
||
28 | ,'execute' : 'before' // before or after |
||
29 | } |
||
30 | ,'attributes' : { |
||
31 | 'search' : '( |\n|\r|\t)([^ \r\n\t=]+)(=)' |
||
32 | ,'class' : 'attributes' |
||
33 | ,'modifiers' : 'g' |
||
34 | ,'execute' : 'before' // before or after |
||
35 | } |
||
36 | } |
||
37 | ,'STYLES' : { |
||
38 | 'COMMENTS': 'color: #AAAAAA;' |
||
39 | ,'QUOTESMARKS': 'color: #6381F8;' |
||
40 | ,'KEYWORDS' : { |
||
41 | } |
||
42 | ,'OPERATORS' : 'color: #E775F0;' |
||
43 | ,'DELIMITERS' : '' |
||
44 | ,'REGEXPS' : { |
||
45 | 'attributes': 'color: #B1AC41;' |
||
46 | ,'tags': 'color: #E62253;' |
||
47 | ,'doctype': 'color: #8DCFB5;' |
||
48 | ,'test': 'color: #00FF00;' |
||
8475 | bpr | 49 | } |
50 | } |
||
4870 | bpr | 51 | }; |