PluginProbe
Wp-Insert / 1.7.5
Wp-Insert v1.7.5
trunk 1.0 1.1 1.2 1.2.1 1.2.2 1.3.0 1.3.1 1.3.3 1.4 1.5.0 1.5.1 1.5.2 1.5.3 1.6.0 1.6.1 1.6.2 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 2.0 All 63 releases
wp-insert / editarea / reg_syntax / java.js

java.js in Wp-Insert 1.7.5, at editarea/reg_syntax/java.js

58 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 };
58