1 | 1 | simandl | <?php |
2 | | | /** |
3 | | | * lotusscript.php |
4 | | | * ------------------------ |
5 | | | * Author: Richard Civil (info@richardcivil.net) |
6 | | | * Copyright: (c) 2008 Richard Civil (info@richardcivil.net), Nigel McNie (http://qbnz.com/highlighter) |
7 | | | * Release Version: 1.0.8.1 |
8 | | | * Date Started: 2008/04/12 |
9 | | | * |
10 | | | * LotusScript language file for GeSHi. |
11 | | | * |
12 | | | * LotusScript source: IBM Lotus Notes/Domino 8 Designer Help |
13 | | | * |
14 | | | * CHANGES |
15 | | | * ------- |
16 | | | * 2008/04/12 (1.0.7.22) |
17 | | | * - First Release |
18 | | | * |
19 | | | * TODO (2008/04/12) |
20 | | | * ----------------- |
21 | | | * |
22 | | | ************************************************************************************* |
23 | | | * |
24 | | | * This file is part of GeSHi. |
25 | | | * |
26 | | | * GeSHi is free software; you can redistribute it and/or modify |
27 | | | * it under the terms of the GNU General Public License as published by |
28 | | | * the Free Software Foundation; either version 2 of the License, or |
29 | | | * (at your option) any later version. |
30 | | | * |
31 | | | * GeSHi is distributed in the hope that it will be useful, |
32 | | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
33 | | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
34 | | | * GNU General Public License for more details. |
35 | | | * |
36 | | | * You should have received a copy of the GNU General Public License |
37 | | | * along with GeSHi; if not, write to the Free Software |
38 | | | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
39 | | | * |
40 | | | ************************************************************************************/ |
41 | | | |
42 | | | $language_data = array ( |
43 | | | 'LANG_NAME' => 'LotusScript', |
44 | | | 'COMMENT_SINGLE' => array(1 => "'"), |
45 | | | 'COMMENT_MULTI' => array('%REM' => '%END REM'), |
46 | | | 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
47 | | | 'QUOTEMARKS' => array('"' , "|"), |
48 | | | 'ESCAPE_CHAR' => '', |
49 | | | 'KEYWORDS' => array( |
50 | | | 1 => array ( |
51 | | | 'Yield', 'Year', 'Xor', 'Write', 'With', 'Width', 'While', 'Wend', |
52 | | | 'Weekday', 'VarType', 'Variant', 'Val', 'UString', 'UString$', |
53 | | | 'UseLSX', 'Use', 'Until', 'Unlock', 'Unicode', 'Uni', 'UChr', |
54 | | | 'UChr$', 'UCase', 'UCase$', 'UBound', 'TypeName', 'Type', 'TRUE', |
55 | | | 'Trim', 'Trim$', 'Today', 'To', 'TimeValue', 'TimeSerial', 'Timer', |
56 | | | 'TimeNumber', 'Time', 'Time$', 'Then', 'Text', 'Tan', 'Tab', 'Sub', |
57 | | | 'StrToken', 'StrToken$', 'StrRightBack', 'StrRightBack$', |
58 | | | 'StrRight', 'StrRight$', 'StrLeftBack', 'StrLeftBack$', 'StrLeft', |
59 | | | 'StrLeft$', 'String', 'String$', 'StrConv', 'StrCompare', 'StrComp', |
60 | | | 'Str', 'Str$', 'Stop', 'Step', 'Static', 'Sqr', 'Split', 'Spc', |
61 | | | 'Space', 'Space$', 'Sleep', 'Single', 'Sin', 'Shell', 'Shared', |
62 | | | 'Sgn', 'SetFileAttr', 'SetAttr', 'Set', 'SendKeys', 'Select', |
63 | | | 'Seek', 'Second', 'RTrim', 'RTrim$', 'RSet', 'Round', 'Rnd', |
64 | | | 'RmDir', 'RightC', 'RightC$', 'RightBP', 'RightBP$', 'RightB', |
65 | | | 'RightB$', 'Right', 'Right$', 'Return', 'Resume', 'Reset', |
66 | | | 'Replace', 'Remove', 'Rem', 'ReDim', 'Read', 'Randomize', |
67 | | | 'Random', 'Put', 'Public', 'Property', 'Private', 'Print', |
68 | | | 'Preserve', 'Pitch', 'PI', 'Output', 'Or', 'Option', 'Open', 'On', |
69 | | | 'Oct', 'Oct$', 'NULL', 'Now', 'NOTHING', 'Not', 'NoPitch', 'NoCase', |
70 | | | 'Next', 'New', 'Name', 'MsgBox', 'Month', 'Mod', 'MkDir', 'Minute', |
71 | | | 'MidC', 'MidC$', 'MidBP', 'MidBP$', 'MidB', 'MidB$', 'Mid', 'Mid$', |
72 | | | 'MessageBox', 'Me', 'LTrim', 'LTrim$', 'LSServer', 'LSI_Info', |
73 | | | 'LSet', 'Loop', 'Long', 'Log', 'LOF', 'Lock', 'LOC', 'LMBCS', |
74 | | | 'ListTag', 'List', 'Line', 'Like', 'Lib', 'Let', 'LenC', 'LenBP', |
75 | | | 'LenB', 'Len', 'LeftC', 'LeftC$', 'LeftBP', 'LeftBP$', 'LeftB', |
76 | | | 'LeftB$', 'Left', 'Left$', 'LCase', 'LCase$', 'LBound', 'Kill', |
77 | | | 'Join', 'IsUnknown', 'IsScalar', 'IsObject', 'IsNumeric', 'IsNull', |
78 | | | 'IsList', 'IsEmpty', 'IsElement', 'IsDate', 'IsArray', 'IsA', 'Is', |
79 | | | 'Integer', 'Int', 'InStrC', 'InStrBP', 'InStrB', 'InStr', 'InputBP', |
80 | | | 'InputBP$', 'InputBox', 'InputBox$', 'InputB', 'InputB$', 'Input', |
81 | | | 'Input$', 'In', 'IMSetMode', 'Implode', 'Implode$', 'Imp', |
82 | | | 'IMEStatus', 'If', 'Hour', 'Hex', 'Hex$', 'Goto', 'GoSub', |
83 | | | 'GetThreadInfo', 'GetFileAttr', 'GetAttr', 'Get', 'Function', |
84 | | | 'FullTrim', 'From', 'FreeFile', 'Fraction', 'Format', 'Format$', |
85 | | | 'ForAll', 'For', 'Fix', 'FileLen', 'FileDateTime', 'FileCopy', |
86 | | | 'FileAttr', 'FALSE', 'Explicit', 'Exp', 'Exit', 'Execute', 'Event', |
87 | | | 'Evaluate', 'Error', 'Error$', 'Err', 'Erl', 'Erase', 'Eqv', 'EOF', |
88 | | | 'Environ', 'Environ$', 'End', 'ElseIf', 'Else', 'Double', 'DoEvents', |
89 | | | 'Do', 'Dir', 'Dir$', 'Dim', 'DestroyLock', 'Delete', 'DefVar', |
90 | | | 'DefStr', 'DefSng', 'DefLng', 'DefInt', 'DefDbl', 'DefCur', |
91 | | | 'DefByte', 'DefBool', 'Declare', 'Day', 'DateValue', 'DateSerial', |
92 | | | 'DateNumber', 'Date', 'Date$', 'DataType', 'CVDate', 'CVar', |
93 | | | 'Currency', 'CurDrive', 'CurDrive$', 'CurDir', 'CurDir$', 'CStr', |
94 | | | 'CSng', 'CreateLock', 'Cos', 'Const', 'Compare', 'Command', |
95 | | | 'Command$', 'CodeUnlock', 'CodeLockCheck', 'CodeLock', 'Close', |
96 | | | 'CLng', 'Class', 'CInt', 'Chr', 'Chr$', 'ChDrive', 'ChDir', 'CDbl', |
97 | | | 'CDat', 'CCur', 'CByte', 'CBool', 'Case', 'Call', 'ByVal', 'Byte', |
98 | | | 'Boolean', 'Bind', 'Binary', 'Bin', 'Bin$', 'Beep', 'Base', 'Atn2', |
99 | | | 'Atn', 'ASin', 'Asc', 'As', 'ArrayUnique', 'ArrayReplace', |
100 | | | 'ArrayGetIndex', 'ArrayAppend', 'Append', 'AppActivate', 'Any', |
101 | | | 'And', 'Alias', 'ActivateApp', 'ACos', 'Access', 'Abs', '%Include', |
102 | | | '%If', '%END', '%ElseIf', '%Else' |
103 | | | ), |
104 | | | 2 => array ( |
105 | | | 'NotesXSLTransformer', 'NotesXMLProcessor', 'NotesViewNavigator', |
106 | | | 'NotesViewEntryCollection', 'NotesViewEntry', 'NotesViewColumn', |
107 | | | 'NotesView', 'NotesUIWorkspace', 'NotesUIView', 'NotesUIScheduler', |
108 | | | 'NotesUIDocument', 'NotesUIDatabase', 'NotesTimer', 'NotesStream', |
109 | | | 'NotesSession', 'NotesSAXParser', 'NotesSAXException', |
110 | | | 'NotesSAXAttributeList', 'NotesRichTextTable', 'NotesRichTextTab', |
111 | | | 'NotesRichTextStyle', 'NotesRichTextSection', 'NotesRichTextRange', |
112 | | | 'NotesRichTextParagraphStyle', 'NotesRichTextNavigator', |
113 | | | 'NotesRichTextItem', 'NotesRichTextDocLink', |
114 | | | 'NotesReplicationEntry', 'NotesReplication', 'NotesRegistration', |
115 | | | 'NotesOutlineEntry', 'NotesOutline', 'NotesNoteCollection', |
116 | | | 'NotesNewsLetter', 'NotesName', 'NotesMIMEHeader', |
117 | | | 'NotesMIMEEntity', 'NotesLog', 'NotesItem', 'NotesInternational', |
118 | | | 'NotesForm', 'NotesEmbeddedObject', 'NotesDXLImporter', |
119 | | | 'NotesDXLExporter', 'NotesDOMXMLDeclNode', 'NotesDOMTextNode', |
120 | | | 'NotesDOMProcessingInstructionNode', 'NotesDOMParser', |
121 | | | 'NotesDOMNotationNode', 'NotesDOMNodeList', 'NotesDOMNode', |
122 | | | 'NotesDOMNamedNodeMap', 'NotesDOMEntityReferenceNode', |
123 | | | 'NotesDOMEntityNode', 'NotesDOMElementNode', |
124 | | | 'NotesDOMDocumentTypeNode', 'NotesDOMDocumentNode', |
125 | | | 'NotesDOMDocumentFragmentNode', 'NotesDOMCommentNode', |
126 | | | 'NotesDOMCharacterDataNote', 'NotesDOMCDATASectionNode', |
127 | | | 'NotesDOMAttributeNode', 'NotesDocumentCollection', 'NotesDocument', |
128 | | | 'NotesDbDirectory', 'NotesDateTime', 'NotesDateRange', |
129 | | | 'NotesDatabase', 'NotesColorObject', 'NotesAgent', |
130 | | | 'NotesAdministrationProcess', 'NotesACLEntry', 'NotesACL', |
131 | | | 'Navigator', 'Field', 'Button' |
132 | | | ) |
133 | | | ) , |
134 | | | 'SYMBOLS' => array( |
135 | | | '(', ')' |
136 | | | ), |
137 | | | 'CASE_SENSITIVE' => array( |
138 | | | GESHI_COMMENTS => false, |
139 | | | 1 => false, |
140 | | | 2 => false |
141 | | | ), |
142 | | | 'STYLES' => array( |
143 | | | 'KEYWORDS' => array( |
144 | | | 1 => 'color: #0000FF;', |
145 | | | 2 => 'color: #0000EE;' |
146 | | | ), |
147 | | | 'COMMENTS' => array( |
148 | | | 1 => 'color: #008000;' |
149 | | | ), |
150 | | | 'BRACKETS' => array( |
151 | | | |
152 | | | ), |
153 | | | 'STRINGS' => array( |
154 | | | |
155 | | | ), |
156 | | | 'NUMBERS' => array( |
157 | | | |
158 | | | ), |
159 | | | 'METHODS' => array( |
160 | | | 1 => 'color: #0000AA;' |
161 | | | ), |
162 | | | 'SYMBOLS' => array( |
163 | | | |
164 | | | ), |
165 | | | 'ESCAPE_CHAR' => array( |
166 | | | |
167 | | | ), |
168 | | | 'SCRIPT' => array( |
169 | | | ), |
170 | | | 'REGEXPS' => array( |
171 | | | ) |
172 | | | ), |
173 | | | 'URLS' => array( |
174 | | | 1 => '', |
175 | | | 2 => '' |
176 | | | ), |
177 | | | 'OOLANG' => true, |
178 | | | 'OBJECT_SPLITTERS' => array( |
179 | | | 1 => '.' |
180 | | | ), |
181 | | | 'REGEXPS' => array( |
182 | | | ), |
183 | | | 'STRICT_MODE_APPLIES' => GESHI_NEVER, |
184 | | | 'SCRIPT_DELIMITERS' => array( |
185 | | | ), |
186 | | | 'HIGHLIGHT_STRICT_BLOCK' => array( |
187 | | | ), |
188 | | | 'TAB_WIDTH' => 2 |
189 | | | ); |
190 | | | |
191 | | | ?> |