source: trunk/plugins/LocalFilesEditor/editarea/reg_syntax/html.js @ 3282

Last change on this file since 3282 was 3282, checked in by plg, 15 years ago

change: according to topic:15067, svn:keywords property was removed

  • Property svn:eol-style set to LF
File size: 1.1 KB
Line 
1/*
2* last update: 2006-08-24
3*/
4
5editAreaLoader.load_syntax["html"] = {
6        'COMMENT_SINGLE' : {}
7        ,'COMMENT_MULTI' : {
8    '<!--' : '-->',
9    '{*' : '*}'
10  }
11        ,'QUOTEMARKS' : {1: "'", 2: '"'}
12        ,'KEYWORD_CASE_SENSITIVE' : false
13        ,'KEYWORDS' : {
14        }
15        ,'OPERATORS' :[
16        ]
17        ,'DELIMITERS' :[
18        ]
19        ,'REGEXPS' : {
20                'doctype' : {
21                        'search' : '()(<!DOCTYPE[^>]*>)()'
22                        ,'class' : 'doctype'
23                        ,'modifiers' : ''
24                        ,'execute' : 'before' // before or after
25                }
26                ,'tags' : {
27                        'search' : '(<)(/?[a-z][^ \r\n\t>]*)([^>]*>)'
28                        ,'class' : 'tags'
29                        ,'modifiers' : 'gi'
30                        ,'execute' : 'before' // before or after
31                }
32                ,'attributes' : {
33                        'search' : '( |\n|\r|\t)([^ \r\n\t=]+)(=)'
34                        ,'class' : 'attributes'
35                        ,'modifiers' : 'g'
36                        ,'execute' : 'before' // before or after
37                }
38        }
39        ,'STYLES' : {
40                'COMMENTS': 'color: #AAAAAA;'
41                ,'QUOTESMARKS': 'color: #6381F8;'
42                ,'KEYWORDS' : {
43                        }
44                ,'OPERATORS' : 'color: #E775F0;'
45                ,'DELIMITERS' : ''
46                ,'REGEXPS' : {
47                        'attributes': 'color: #B1AC41;'
48                        ,'tags': 'color: #E62253;'
49                        ,'doctype': 'color: #8DCFB5;'
50                        ,'test': 'color: #00FF00;'
51                }       
52        }               
53};
Note: See TracBrowser for help on using the repository browser.