PluginProbe
Wp-Insert / 1.7
Wp-Insert v1.7
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 / vb.js

vb.js in Wp-Insert 1.7, at editarea/reg_syntax/vb.js

54 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 editAreaLoader.load_syntax["vb"] = {
2 'DISPLAY_NAME' : 'Visual Basic'
3 ,'COMMENT_SINGLE' : {1 : "'"}
4 ,'COMMENT_MULTI' : { }
5 ,'QUOTEMARKS' : {1: '"'}
6 ,'KEYWORD_CASE_SENSITIVE' : false
7 ,'KEYWORDS' : {
8 'statements' : [
9 'if','then','for','each','while','do','loop',
10 'else','elseif','select','case','end select',
11 'until','next','step','to','in','end if'
12 ]
13 ,'keywords' : [
14 'empty','isempty','nothing','null','isnull','true','false',
15 'set','call',
16 'sub','end sub','function','end function','exit','exit function',
17 'dim','Mod','In','private','public','shared','const'
18 ]
19
20 ,'functions' : [
21 'CDate','Date','DateAdd','DateDiff','DatePart','DateSerial','DateValue','Day','FormatDateTime',
22 'Hour','IsDate','Minute','Month',
23 'MonthName','Now','Second','Time','Timer','TimeSerial','TimeValue','Weekday','WeekdayName ','Year',
24 'Asc','CBool','CByte','CCur','CDate','CDbl','Chr','CInt','CLng','CSng','CStr','Hex','Oct','FormatCurrency',
25 'FormatDateTime','FormatNumber','FormatPercent','Abs','Atn','Cos','Exp','Hex','Int','Fix','Log','Oct',
26 'Rnd','Sgn','Sin','Sqr','Tan',
27 'Array','Filter','IsArray','Join','LBound','Split','UBound',
28 'InStr','InStrRev','LCase','Left','Len','LTrim','RTrim','Trim','Mid','Replace','Right','Space','StrComp',
29 'String','StrReverse','UCase',
30 'CreateObject','Eval','GetLocale','GetObject','GetRef','InputBox','IsEmpty','IsNull','IsNumeric',
31 'IsObject','LoadPicture','MsgBox','RGB','Round','ScriptEngine','ScriptEngineBuildVersion','ScriptEngineMajorVersion',
32 'ScriptEngineMinorVersion','SetLocale','TypeName','VarType'
33 ]
34 }
35 ,'OPERATORS' :[
36 '+', '-', '/', '*', '=', '<', '>', '!', '&'
37 ]
38 ,'DELIMITERS' :[
39 '(', ')', '[', ']', '{', '}'
40 ]
41 ,'STYLES' : {
42 'COMMENTS': 'color: #99CC00;'
43 ,'QUOTESMARKS': 'color: #333399;'
44 ,'KEYWORDS' : {
45 'keywords' : 'color: #3366FF;'
46 ,'functions' : 'color: #0000FF;'
47 ,'statements' : 'color: #3366FF;'
48 }
49 ,'OPERATORS' : 'color: #FF0000;'
50 ,'DELIMITERS' : 'color: #0000FF;'
51
52 }
53 };
54