KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lotusscript.php 8.7KB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <?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.11
  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. $language_data = array (
  42. 'LANG_NAME' => 'LotusScript',
  43. 'COMMENT_SINGLE' => array(1 => "'"),
  44. 'COMMENT_MULTI' => array('%REM' => '%END REM'),
  45. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  46. 'QUOTEMARKS' => array('"' , "|"),
  47. 'ESCAPE_CHAR' => '',
  48. 'KEYWORDS' => array(
  49. 1 => array (
  50. 'Yield', 'Year', 'Xor', 'Write', 'With', 'Width', 'While', 'Wend',
  51. 'Weekday', 'VarType', 'Variant', 'Val', 'UString', 'UString$',
  52. 'UseLSX', 'Use', 'Until', 'Unlock', 'Unicode', 'Uni', 'UChr',
  53. 'UChr$', 'UCase', 'UCase$', 'UBound', 'TypeName', 'Type', 'TRUE',
  54. 'Trim', 'Trim$', 'Today', 'To', 'TimeValue', 'TimeSerial', 'Timer',
  55. 'TimeNumber', 'Time', 'Time$', 'Then', 'Text', 'Tan', 'Tab', 'Sub',
  56. 'StrToken', 'StrToken$', 'StrRightBack', 'StrRightBack$',
  57. 'StrRight', 'StrRight$', 'StrLeftBack', 'StrLeftBack$', 'StrLeft',
  58. 'StrLeft$', 'String', 'String$', 'StrConv', 'StrCompare', 'StrComp',
  59. 'Str', 'Str$', 'Stop', 'Step', 'Static', 'Sqr', 'Split', 'Spc',
  60. 'Space', 'Space$', 'Sleep', 'Single', 'Sin', 'Shell', 'Shared',
  61. 'Sgn', 'SetFileAttr', 'SetAttr', 'Set', 'SendKeys', 'Select',
  62. 'Seek', 'Second', 'RTrim', 'RTrim$', 'RSet', 'Round', 'Rnd',
  63. 'RmDir', 'RightC', 'RightC$', 'RightBP', 'RightBP$', 'RightB',
  64. 'RightB$', 'Right', 'Right$', 'Return', 'Resume', 'Reset',
  65. 'Replace', 'Remove', 'Rem', 'ReDim', 'Read', 'Randomize',
  66. 'Random', 'Put', 'Public', 'Property', 'Private', 'Print',
  67. 'Preserve', 'Pitch', 'PI', 'Output', 'Or', 'Option', 'Open', 'On',
  68. 'Oct', 'Oct$', 'NULL', 'Now', 'NOTHING', 'Not', 'NoPitch', 'NoCase',
  69. 'Next', 'New', 'Name', 'MsgBox', 'Month', 'Mod', 'MkDir', 'Minute',
  70. 'MidC', 'MidC$', 'MidBP', 'MidBP$', 'MidB', 'MidB$', 'Mid', 'Mid$',
  71. 'MessageBox', 'Me', 'LTrim', 'LTrim$', 'LSServer', 'LSI_Info',
  72. 'LSet', 'Loop', 'Long', 'Log', 'LOF', 'Lock', 'LOC', 'LMBCS',
  73. 'ListTag', 'List', 'Line', 'Like', 'Lib', 'Let', 'LenC', 'LenBP',
  74. 'LenB', 'Len', 'LeftC', 'LeftC$', 'LeftBP', 'LeftBP$', 'LeftB',
  75. 'LeftB$', 'Left', 'Left$', 'LCase', 'LCase$', 'LBound', 'Kill',
  76. 'Join', 'IsUnknown', 'IsScalar', 'IsObject', 'IsNumeric', 'IsNull',
  77. 'IsList', 'IsEmpty', 'IsElement', 'IsDate', 'IsArray', 'IsA', 'Is',
  78. 'Integer', 'Int', 'InStrC', 'InStrBP', 'InStrB', 'InStr', 'InputBP',
  79. 'InputBP$', 'InputBox', 'InputBox$', 'InputB', 'InputB$', 'Input',
  80. 'Input$', 'In', 'IMSetMode', 'Implode', 'Implode$', 'Imp',
  81. 'IMEStatus', 'If', 'Hour', 'Hex', 'Hex$', 'Goto', 'GoSub',
  82. 'GetThreadInfo', 'GetFileAttr', 'GetAttr', 'Get', 'Function',
  83. 'FullTrim', 'From', 'FreeFile', 'Fraction', 'Format', 'Format$',
  84. 'ForAll', 'For', 'Fix', 'FileLen', 'FileDateTime', 'FileCopy',
  85. 'FileAttr', 'FALSE', 'Explicit', 'Exp', 'Exit', 'Execute', 'Event',
  86. 'Evaluate', 'Error', 'Error$', 'Err', 'Erl', 'Erase', 'Eqv', 'EOF',
  87. 'Environ', 'Environ$', 'End', 'ElseIf', 'Else', 'Double', 'DoEvents',
  88. 'Do', 'Dir', 'Dir$', 'Dim', 'DestroyLock', 'Delete', 'DefVar',
  89. 'DefStr', 'DefSng', 'DefLng', 'DefInt', 'DefDbl', 'DefCur',
  90. 'DefByte', 'DefBool', 'Declare', 'Day', 'DateValue', 'DateSerial',
  91. 'DateNumber', 'Date', 'Date$', 'DataType', 'CVDate', 'CVar',
  92. 'Currency', 'CurDrive', 'CurDrive$', 'CurDir', 'CurDir$', 'CStr',
  93. 'CSng', 'CreateLock', 'Cos', 'Const', 'Compare', 'Command',
  94. 'Command$', 'CodeUnlock', 'CodeLockCheck', 'CodeLock', 'Close',
  95. 'CLng', 'Class', 'CInt', 'Chr', 'Chr$', 'ChDrive', 'ChDir', 'CDbl',
  96. 'CDat', 'CCur', 'CByte', 'CBool', 'Case', 'Call', 'ByVal', 'Byte',
  97. 'Boolean', 'Bind', 'Binary', 'Bin', 'Bin$', 'Beep', 'Base', 'Atn2',
  98. 'Atn', 'ASin', 'Asc', 'As', 'ArrayUnique', 'ArrayReplace',
  99. 'ArrayGetIndex', 'ArrayAppend', 'Append', 'AppActivate', 'Any',
  100. 'And', 'Alias', 'ActivateApp', 'ACos', 'Access', 'Abs', '%Include',
  101. '%If', '%END', '%ElseIf', '%Else'
  102. ),
  103. 2 => array (
  104. 'NotesXSLTransformer', 'NotesXMLProcessor', 'NotesViewNavigator',
  105. 'NotesViewEntryCollection', 'NotesViewEntry', 'NotesViewColumn',
  106. 'NotesView', 'NotesUIWorkspace', 'NotesUIView', 'NotesUIScheduler',
  107. 'NotesUIDocument', 'NotesUIDatabase', 'NotesTimer', 'NotesStream',
  108. 'NotesSession', 'NotesSAXParser', 'NotesSAXException',
  109. 'NotesSAXAttributeList', 'NotesRichTextTable', 'NotesRichTextTab',
  110. 'NotesRichTextStyle', 'NotesRichTextSection', 'NotesRichTextRange',
  111. 'NotesRichTextParagraphStyle', 'NotesRichTextNavigator',
  112. 'NotesRichTextItem', 'NotesRichTextDocLink',
  113. 'NotesReplicationEntry', 'NotesReplication', 'NotesRegistration',
  114. 'NotesOutlineEntry', 'NotesOutline', 'NotesNoteCollection',
  115. 'NotesNewsLetter', 'NotesName', 'NotesMIMEHeader',
  116. 'NotesMIMEEntity', 'NotesLog', 'NotesItem', 'NotesInternational',
  117. 'NotesForm', 'NotesEmbeddedObject', 'NotesDXLImporter',
  118. 'NotesDXLExporter', 'NotesDOMXMLDeclNode', 'NotesDOMTextNode',
  119. 'NotesDOMProcessingInstructionNode', 'NotesDOMParser',
  120. 'NotesDOMNotationNode', 'NotesDOMNodeList', 'NotesDOMNode',
  121. 'NotesDOMNamedNodeMap', 'NotesDOMEntityReferenceNode',
  122. 'NotesDOMEntityNode', 'NotesDOMElementNode',
  123. 'NotesDOMDocumentTypeNode', 'NotesDOMDocumentNode',
  124. 'NotesDOMDocumentFragmentNode', 'NotesDOMCommentNode',
  125. 'NotesDOMCharacterDataNote', 'NotesDOMCDATASectionNode',
  126. 'NotesDOMAttributeNode', 'NotesDocumentCollection', 'NotesDocument',
  127. 'NotesDbDirectory', 'NotesDateTime', 'NotesDateRange',
  128. 'NotesDatabase', 'NotesColorObject', 'NotesAgent',
  129. 'NotesAdministrationProcess', 'NotesACLEntry', 'NotesACL',
  130. 'Navigator', 'Field', 'Button'
  131. )
  132. ) ,
  133. 'SYMBOLS' => array(
  134. '(', ')'
  135. ),
  136. 'CASE_SENSITIVE' => array(
  137. GESHI_COMMENTS => false,
  138. 1 => false,
  139. 2 => false
  140. ),
  141. 'STYLES' => array(
  142. 'KEYWORDS' => array(
  143. 1 => 'color: #0000FF;',
  144. 2 => 'color: #0000EE;'
  145. ),
  146. 'COMMENTS' => array(
  147. 1 => 'color: #008000;'
  148. ),
  149. 'BRACKETS' => array(
  150. 0 => 'color: #000000;'
  151. ),
  152. 'STRINGS' => array(
  153. 0 => 'color: #000000;'
  154. ),
  155. 'NUMBERS' => array(
  156. 0 => 'color: #FF00FF;'
  157. ),
  158. 'METHODS' => array(
  159. 1 => 'color: #0000AA;'
  160. ),
  161. 'SYMBOLS' => array(
  162. 0 => 'color: #006600;'
  163. ),
  164. 'ESCAPE_CHAR' => array(
  165. 0 => 'color: #000099;'
  166. ),
  167. 'SCRIPT' => array(
  168. ),
  169. 'REGEXPS' => array(
  170. )
  171. ),
  172. 'URLS' => array(
  173. 1 => '',
  174. 2 => ''
  175. ),
  176. 'OOLANG' => true,
  177. 'OBJECT_SPLITTERS' => array(
  178. 1 => '.'
  179. ),
  180. 'REGEXPS' => array(
  181. ),
  182. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  183. 'SCRIPT_DELIMITERS' => array(
  184. ),
  185. 'HIGHLIGHT_STRICT_BLOCK' => array(
  186. ),
  187. 'TAB_WIDTH' => 2
  188. );
  189. ?>