| 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 |
|