1 | editAreaLoader.load_syntax["java"] = { |
---|
2 | 'DISPLAY_NAME' : 'Java' |
---|
3 | ,'COMMENT_SINGLE': { 1: '//', 2: '@' } |
---|
4 | , 'COMMENT_MULTI': { '/*': '*/' } |
---|
5 | , 'QUOTEMARKS': { 1: "'", 2: '"' } |
---|
6 | , 'KEYWORD_CASE_SENSITIVE': true |
---|
7 | , 'KEYWORDS': { |
---|
8 | 'constants': [ |
---|
9 | 'null', 'false', 'true' |
---|
10 | ] |
---|
11 | , 'types': [ |
---|
12 | 'String', 'int', 'short', 'long', 'char', 'double', 'byte', |
---|
13 | 'float', 'static', 'void', 'private', 'boolean', 'protected', |
---|
14 | 'public', 'const', 'class', 'final', 'abstract', 'volatile', |
---|
15 | 'enum', 'transient', 'interface' |
---|
16 | ] |
---|
17 | , 'statements': [ |
---|
18 | 'this', 'extends', 'if', 'do', 'while', 'try', 'catch', 'finally', |
---|
19 | 'throw', 'throws', 'else', 'for', 'switch', 'continue', 'implements', |
---|
20 | 'break', 'case', 'default', 'goto' |
---|
21 | ] |
---|
22 | , 'keywords': [ |
---|
23 | 'new', 'return', 'import', 'native', 'super', 'package', 'assert', 'synchronized', |
---|
24 | 'instanceof', 'strictfp' |
---|
25 | ] |
---|
26 | } |
---|
27 | , 'OPERATORS': [ |
---|
28 | '+', '-', '/', '*', '=', '<', '>', '%', '!', '?', ':', '&' |
---|
29 | ] |
---|
30 | , 'DELIMITERS': [ |
---|
31 | '(', ')', '[', ']', '{', '}' |
---|
32 | ] |
---|
33 | , 'REGEXPS': { |
---|
34 | 'precompiler': { |
---|
35 | 'search': '()(#[^\r\n]*)()' |
---|
36 | , 'class': 'precompiler' |
---|
37 | , 'modifiers': 'g' |
---|
38 | , 'execute': 'before' |
---|
39 | } |
---|
40 | } |
---|
41 | , 'STYLES': { |
---|
42 | 'COMMENTS': 'color: #AAAAAA;' |
---|
43 | , 'QUOTESMARKS': 'color: #6381F8;' |
---|
44 | , 'KEYWORDS': { |
---|
45 | 'constants': 'color: #EE0000;' |
---|
46 | , 'types': 'color: #0000EE;' |
---|
47 | , 'statements': 'color: #60CA00;' |
---|
48 | , 'keywords': 'color: #48BDDF;' |
---|
49 | } |
---|
50 | , 'OPERATORS': 'color: #FF00FF;' |
---|
51 | , 'DELIMITERS': 'color: #0038E1;' |
---|
52 | , 'REGEXPS': { |
---|
53 | 'precompiler': 'color: #009900;' |
---|
54 | , 'precompilerstring': 'color: #994400;' |
---|
55 | } |
---|
56 | } |
---|
57 | }; |
---|