Merging the updates from the GeSHi vendor to the trunk
[viewsvn.git] / includes / geshi / geshi / oobas.php
1 <?php
2 /*************************************************************************************
3 * oobas.php
4 * ---------
5 * Author: Roberto Rossi (rsoftware@altervista.org)
6 * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter)
7 * Release Version: 1.0.7.19
8 * Date Started: 2004/08/30
9 *
10 * OpenOffice.org Basic language file for GeSHi.
11 *
12 * CHANGES
13 * -------
14 * 2004/11/27 (1.0.1)
15 * - Added support for multiple object splitters
16 * 2004/10/27 (1.0.0)
17 * - First Release
18 *
19 * TODO (updated 2004/11/27)
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' => 'OpenOffice.org Basic',
44 'COMMENT_SINGLE' => array(1 => "'"),
45 'COMMENT_MULTI' => array(),
46 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
47 'QUOTEMARKS' => array('"'),
48 'ESCAPE_CHAR' => '',
49 'KEYWORDS' => array(
50 1 => array(
51 'dim','private','public','global','as','if','redim','true','set',
52 'byval',
53 'false','bool','double','integer','long','object','single','variant',
54 'msgbox','print','inputbox','green','blue','red','qbcolor',
55 'rgb','open','close','reset','freefile','get','input','line',
56 'put','write','loc','seek','eof','lof','chdir','chdrive',
57 'curdir','dir','fileattr','filecopy','filedatetime','fileexists',
58 'filelen','getattr','kill','mkdir','name','rmdir','setattr',
59 'dateserial','datevalue','day','month','weekday','year','cdatetoiso',
60 'cdatefromiso','hour','minute','second','timeserial','timevalue',
61 'date','now','time','timer','erl','err','error','on','error','goto','resume',
62 'and','eqv','imp','not','or','xor','mod','','atn','cos','sin','tan','log',
63 'exp','rnd','randomize','sqr','fix','int','abs','sgn','hex','oct',
64 'it','then','else','select','case','iif','do','loop','for','next',
65 'while','wend','gosub','return','goto','on','goto','call','choose','declare',
66 'end','exit','freelibrary','function','rem','stop','sub','switch','with',
67 'cbool','cdate','cdbl','cint','clng','const','csng','cstr','defbool',
68 'defdate','defdbl','defint','deflng','asc','chr','str','val','cbyte',
69 'space','string','format','lcase','left','lset','ltrim','mid','right',
70 'rset','rtrim','trim','ucase','split','join','converttourl','convertfromurl',
71 'instr','len','strcomp','beep','shell','wait','getsystemticks','environ',
72 'getsolarversion','getguitype','twipsperpixelx','twipsperpixely',
73 'createunostruct','createunoservice','getprocessservicemanager',
74 'createunodialog','createunolistener','createunovalue','thiscomponent',
75 'globalscope'
76 )
77 ),
78 'SYMBOLS' => array(
79 '(', ')', '='
80 ),
81 'CASE_SENSITIVE' => array(
82 GESHI_COMMENTS => false,
83 1 => false
84 ),
85 'STYLES' => array(
86 'KEYWORDS' => array(
87 1 => 'color: #b1b100;'
88 ),
89 'COMMENTS' => array(
90 1 => 'color: #808080;'
91 ),
92 'BRACKETS' => array(
93 0 => 'color: #66cc66;'
94 ),
95 'STRINGS' => array(
96 0 => 'color: #ff0000;'
97 ),
98 'NUMBERS' => array(
99 0 => 'color: #cc66cc;'
100 ),
101 'METHODS' => array(
102 1 => 'color: #006600;'
103 ),
104 'SYMBOLS' => array(
105 0 => 'color: #66cc66;'
106 ),
107 'ESCAPE_CHAR' => array(
108 0 => 'color: #000099;'
109 ),
110 'SCRIPT' => array(
111 ),
112 'REGEXPS' => array(
113 )
114 ),
115 'URLS' => array(
116 ),
117 'OOLANG' => true,
118 'OBJECT_SPLITTERS' => array(
119 1 => '.'
120 ),
121 'REGEXPS' => array(
122 ),
123 'STRICT_MODE_APPLIES' => GESHI_NEVER,
124 'SCRIPT_DELIMITERS' => array(
125 ),
126 'HIGHLIGHT_STRICT_BLOCK' => array(
127 )
128 );
129
130 ?>