Subversion Repositories wimsdev

Rev

Go to most recent revision | Details | 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"] = {
6
        'COMMENT_SINGLE' : {}
7
        ,'COMMENT_MULTI' : {'<!--' : '-->'}
8
        ,'QUOTEMARKS' : {1: "'", 2: '"'}
9
        ,'KEYWORD_CASE_SENSITIVE' : false
10
        ,'KEYWORDS' : {
11
        }
12
        ,'OPERATORS' :[
13
        ]
14
        ,'DELIMITERS' :[
15
        ]
16
        ,'REGEXPS' : {
17
                'doctype' : {
18
                        'search' : '()(<!DOCTYPE[^>]*>)()'
19
                        ,'class' : 'doctype'
20
                        ,'modifiers' : ''
21
                        ,'execute' : 'before' // before or after
22
                }
23
                ,'tags' : {
24
                        'search' : '(<)(/?[a-z][^ \r\n\t>]*)([^>]*>)'
25
                        ,'class' : 'tags'
26
                        ,'modifiers' : 'gi'
27
                        ,'execute' : 'before' // before or after
28
                }
29
                ,'attributes' : {
30
                        'search' : '( |\n|\r|\t)([^ \r\n\t=]+)(=)'
31
                        ,'class' : 'attributes'
32
                        ,'modifiers' : 'g'
33
                        ,'execute' : 'before' // before or after
34
                }
35
        }
36
        ,'STYLES' : {
37
                'COMMENTS': 'color: #AAAAAA;'
38
                ,'QUOTESMARKS': 'color: #6381F8;'
39
                ,'KEYWORDS' : {
40
                        }
41
                ,'OPERATORS' : 'color: #E775F0;'
42
                ,'DELIMITERS' : ''
43
                ,'REGEXPS' : {
44
                        'attributes': 'color: #B1AC41;'
45
                        ,'tags': 'color: #E62253;'
46
                        ,'doctype': 'color: #8DCFB5;'
47
                        ,'test': 'color: #00FF00;'
48
                }      
49
        }              
50
};