Enkodowanie nazw plików do UTF-8 przed przekazaniem ich do localrepo.commit. Powinno...
[redakcja.git] / project / static / js / reg_syntax / html.js
1 /*\r
2 * last update: 2006-08-24\r
3 */\r
4 \r
5 editAreaLoader.load_syntax["html"] = {\r
6         'COMMENT_SINGLE' : {}\r
7         ,'COMMENT_MULTI' : {'<!--' : '-->'}\r
8         ,'QUOTEMARKS' : {1: "'", 2: '"'}\r
9         ,'KEYWORD_CASE_SENSITIVE' : false\r
10         ,'KEYWORDS' : {\r
11         }\r
12         ,'OPERATORS' :[\r
13         ]\r
14         ,'DELIMITERS' :[\r
15         ]\r
16         ,'REGEXPS' : {\r
17                 'doctype' : {\r
18                         'search' : '()(<!DOCTYPE[^>]*>)()'\r
19                         ,'class' : 'doctype'\r
20                         ,'modifiers' : ''\r
21                         ,'execute' : 'before' // before or after\r
22                 }\r
23                 ,'tags' : {\r
24                         'search' : '(<)(/?[a-z][^ \r\n\t>]*)([^>]*>)'\r
25                         ,'class' : 'tags'\r
26                         ,'modifiers' : 'gi'\r
27                         ,'execute' : 'before' // before or after\r
28                 }\r
29                 ,'attributes' : {\r
30                         'search' : '( |\n|\r|\t)([^ \r\n\t=]+)(=)'\r
31                         ,'class' : 'attributes'\r
32                         ,'modifiers' : 'g'\r
33                         ,'execute' : 'before' // before or after\r
34                 }\r
35         }\r
36         ,'STYLES' : {\r
37                 'COMMENTS': 'color: #AAAAAA;'\r
38                 ,'QUOTESMARKS': 'color: #6381F8;'\r
39                 ,'KEYWORDS' : {\r
40                         }\r
41                 ,'OPERATORS' : 'color: #E775F0;'\r
42                 ,'DELIMITERS' : ''\r
43                 ,'REGEXPS' : {\r
44                         'attributes': 'color: #B1AC41;'\r
45                         ,'tags': 'color: #E62253;'\r
46                         ,'doctype': 'color: #8DCFB5;'\r
47                         ,'test': 'color: #00FF00;'\r
48                 }       \r
49         }               \r
50 };\r