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

Last change on this file since 5160 was 5160, checked in by patdenice, 14 years ago

Editor
Update editarea to 0.8.2.
Remove CSS tab.
Fix jQuery path.

  • 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        'DISPLAY_NAME' : 'HTML'
7        ,'COMMENT_SINGLE' : {}
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;'
49                }       
50        }               
51};
Note: See TracBrowser for help on using the repository browser.