1 | <?php
|
---|
2 | /*************************************************************************************
|
---|
3 | * cpp.php
|
---|
4 | * -------
|
---|
5 | * Author: Iulian M
|
---|
6 | * Copyright: (c) 2006 Iulian M
|
---|
7 | * Release Version: 1.0.8.8
|
---|
8 | * Date Started: 2004/09/27
|
---|
9 | *
|
---|
10 | * C++ (with QT extensions) language file for GeSHi.
|
---|
11 | *
|
---|
12 | * CHANGES
|
---|
13 | * -------
|
---|
14 | * 2009/06/28 (1.0.8.4)
|
---|
15 | * - Updated list of Keywords from Qt 4.5
|
---|
16 | *
|
---|
17 | * 2008/05/23 (1.0.7.22)
|
---|
18 | * - Added description of extra language features (SF#1970248)
|
---|
19 | *
|
---|
20 | * TODO
|
---|
21 | * ----
|
---|
22 | *
|
---|
23 | *************************************************************************************
|
---|
24 | *
|
---|
25 | * This file is part of GeSHi.
|
---|
26 | *
|
---|
27 | * GeSHi is free software; you can redistribute it and/or modify
|
---|
28 | * it under the terms of the GNU General Public License as published by
|
---|
29 | * the Free Software Foundation; either version 2 of the License, or
|
---|
30 | * (at your option) any later version.
|
---|
31 | *
|
---|
32 | * GeSHi is distributed in the hope that it will be useful,
|
---|
33 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
34 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
35 | * GNU General Public License for more details.
|
---|
36 | *
|
---|
37 | * You should have received a copy of the GNU General Public License
|
---|
38 | * along with GeSHi; if not, write to the Free Software
|
---|
39 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
---|
40 | *
|
---|
41 | ************************************************************************************/
|
---|
42 |
|
---|
43 | $language_data = array (
|
---|
44 | 'LANG_NAME' => 'C++ (QT)',
|
---|
45 | 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
---|
46 | 'COMMENT_MULTI' => array('/*' => '*/'),
|
---|
47 | 'COMMENT_REGEXP' => array(
|
---|
48 | //Multiline-continued single-line comments
|
---|
49 | 1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
---|
50 | //Multiline-continued preprocessor define
|
---|
51 | 2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m'
|
---|
52 | ),
|
---|
53 | 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
---|
54 | 'QUOTEMARKS' => array("'", '"'),
|
---|
55 | 'ESCAPE_CHAR' => '',
|
---|
56 | 'ESCAPE_REGEXP' => array(
|
---|
57 | //Simple Single Char Escapes
|
---|
58 | 1 => "#\\\\[\\\\abfnrtv\'\"?\n]#i",
|
---|
59 | //Hexadecimal Char Specs
|
---|
60 | 2 => "#\\\\x[\da-fA-F]{2}#",
|
---|
61 | //Hexadecimal Char Specs
|
---|
62 | 3 => "#\\\\u[\da-fA-F]{4}#",
|
---|
63 | //Hexadecimal Char Specs
|
---|
64 | 4 => "#\\\\U[\da-fA-F]{8}#",
|
---|
65 | //Octal Char Specs
|
---|
66 | 5 => "#\\\\[0-7]{1,3}#"
|
---|
67 | ),
|
---|
68 | 'NUMBERS' =>
|
---|
69 | GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
---|
70 | GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
---|
71 | GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
---|
72 | 'KEYWORDS' => array(
|
---|
73 | 1 => array(
|
---|
74 | 'case', 'continue', 'default', 'do', 'else', 'for', 'goto', 'if', 'return',
|
---|
75 | 'switch', 'while', 'delete', 'new', 'this'
|
---|
76 | ),
|
---|
77 | 2 => array(
|
---|
78 | 'NULL', 'false', 'break', 'true', 'enum', 'errno', 'EDOM',
|
---|
79 | 'ERANGE', 'FLT_RADIX', 'FLT_ROUNDS', 'FLT_DIG', 'DBL_DIG', 'LDBL_DIG',
|
---|
80 | 'FLT_EPSILON', 'DBL_EPSILON', 'LDBL_EPSILON', 'FLT_MANT_DIG', 'DBL_MANT_DIG',
|
---|
81 | 'LDBL_MANT_DIG', 'FLT_MAX', 'DBL_MAX', 'LDBL_MAX', 'FLT_MAX_EXP', 'DBL_MAX_EXP',
|
---|
82 | 'LDBL_MAX_EXP', 'FLT_MIN', 'DBL_MIN', 'LDBL_MIN', 'FLT_MIN_EXP', 'DBL_MIN_EXP',
|
---|
83 | 'LDBL_MIN_EXP', 'CHAR_BIT', 'CHAR_MAX', 'CHAR_MIN', 'SCHAR_MAX', 'SCHAR_MIN',
|
---|
84 | 'UCHAR_MAX', 'SHRT_MAX', 'SHRT_MIN', 'USHRT_MAX', 'INT_MAX', 'INT_MIN',
|
---|
85 | 'UINT_MAX', 'LONG_MAX', 'LONG_MIN', 'ULONG_MAX', 'HUGE_VAL', 'SIGABRT',
|
---|
86 | 'SIGFPE', 'SIGILL', 'SIGINT', 'SIGSEGV', 'SIGTERM', 'SIG_DFL', 'SIG_ERR',
|
---|
87 | 'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam',
|
---|
88 | 'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', 'stdin', 'stdout', 'stderr',
|
---|
89 | 'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
|
---|
90 | 'virtual', 'public', 'private', 'protected', 'template', 'using', 'namespace',
|
---|
91 | 'try', 'catch', 'inline', 'dynamic_cast', 'const_cast', 'reinterpret_cast',
|
---|
92 | 'static_cast', 'explicit', 'friend', 'typename', 'typeid', 'class' ,
|
---|
93 | 'foreach','connect', 'Q_OBJECT' , 'slots' , 'signals', 'Q_SIGNALS', 'Q_SLOTS',
|
---|
94 | 'Q_FOREACH', 'QCOMPARE', 'QVERIFY', 'qDebug', 'kDebug', 'QBENCHMARK'
|
---|
95 | ),
|
---|
96 | 3 => array(
|
---|
97 | 'cin', 'cerr', 'clog', 'cout',
|
---|
98 | 'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
|
---|
99 | 'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
|
---|
100 | 'ispunct', 'isspace', 'isupper', 'isxdigit', 'tolower', 'toupper',
|
---|
101 | 'exp', 'log', 'log10', 'pow', 'sqrt', 'ceil', 'floor', 'fabs', 'ldexp',
|
---|
102 | 'frexp', 'modf', 'fmod', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', 'atan2',
|
---|
103 | 'sinh', 'cosh', 'tanh', 'setjmp', 'longjmp',
|
---|
104 | 'va_start', 'va_arg', 'va_end', 'offsetof', 'sizeof', 'fopen', 'freopen',
|
---|
105 | 'fflush', 'fclose', 'remove', 'rename', 'tmpfile', 'tmpname', 'setvbuf',
|
---|
106 | 'setbuf', 'vfprintf', 'vprintf', 'vsprintf', 'fscanf', 'scanf', 'sscanf',
|
---|
107 | 'fgetc', 'fgets', 'fputc', 'fputs', 'getc', 'getchar', 'gets', 'putc',
|
---|
108 | 'putchar', 'puts', 'ungetc', 'fread', 'fwrite', 'fseek', 'ftell', 'rewind',
|
---|
109 | 'fgetpos', 'fsetpos', 'clearerr', 'feof', 'ferror', 'perror', 'abs', 'labs',
|
---|
110 | 'div', 'ldiv', 'atof', 'atoi', 'atol', 'strtod', 'strtol', 'strtoul', 'calloc',
|
---|
111 | 'malloc', 'realloc', 'free', 'abort', 'exit', 'atexit', 'system', 'getenv',
|
---|
112 | 'bsearch', 'qsort', 'rand', 'srand', 'strcpy', 'strncpy', 'strcat', 'strncat',
|
---|
113 | 'strcmp', 'strncmp', 'strcoll', 'strchr', 'strrchr', 'strspn', 'strcspn',
|
---|
114 | 'strpbrk', 'strstr', 'strlen', 'strerror', 'strtok', 'strxfrm', 'memcpy',
|
---|
115 | 'memmove', 'memcmp', 'memchr', 'memset', 'clock', 'time', 'difftime', 'mktime',
|
---|
116 | 'asctime', 'ctime', 'gmtime', 'localtime', 'strftime'
|
---|
117 | ),
|
---|
118 | 4 => array(
|
---|
119 | 'auto', 'bool', 'char', 'const', 'double', 'float', 'int', 'long', 'longint',
|
---|
120 | 'register', 'short', 'shortint', 'signed', 'static', 'struct',
|
---|
121 | 'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
|
---|
122 | 'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
|
---|
123 | 'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm', 'wchar_t',
|
---|
124 |
|
---|
125 | 'int8', 'int16', 'int32', 'int64',
|
---|
126 | 'uint8', 'uint16', 'uint32', 'uint64',
|
---|
127 |
|
---|
128 | 'int_fast8_t', 'int_fast16_t', 'int_fast32_t', 'int_fast64_t',
|
---|
129 | 'uint_fast8_t', 'uint_fast16_t', 'uint_fast32_t', 'uint_fast64_t',
|
---|
130 |
|
---|
131 | 'int_least8_t', 'int_least16_t', 'int_least32_t', 'int_least64_t',
|
---|
132 | 'uint_least8_t', 'uint_least16_t', 'uint_least32_t', 'uint_least64_t',
|
---|
133 |
|
---|
134 | 'int8_t', 'int16_t', 'int32_t', 'int64_t',
|
---|
135 | 'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t',
|
---|
136 |
|
---|
137 | 'intmax_t', 'uintmax_t', 'intptr_t', 'uintptr_t'
|
---|
138 | ),
|
---|
139 | 5 => array(
|
---|
140 | "Q_UINT16", "Q_UINT32", "Q_UINT64", "Q_UINT8", "Q_ULLONG",
|
---|
141 | "Q_ULONG", "Q3Accel", "Q3Action", "Q3ActionGroup", "Q3AsciiBucket",
|
---|
142 | "Q3AsciiCache", "Q3AsciiCacheIterator", "Q3AsciiDict",
|
---|
143 | "Q3AsciiDictIterator", "Q3BaseBucket", "Q3BoxLayout", "Q3Button",
|
---|
144 | "Q3ButtonGroup", "Q3Cache", "Q3CacheIterator", "Q3Canvas",
|
---|
145 | "Q3CanvasEllipse", "Q3CanvasItem", "Q3CanvasItemList",
|
---|
146 | "Q3CanvasLine", "Q3CanvasPixmap", "Q3CanvasPixmapArray",
|
---|
147 | "Q3CanvasPolygon", "Q3CanvasPolygonalItem", "Q3CanvasRectangle",
|
---|
148 | "Q3CanvasSpline", "Q3CanvasSprite", "Q3CanvasText", "Q3CanvasView",
|
---|
149 | "Q3CheckListItem", "Q3CheckTableItem", "Q3CleanupHandler",
|
---|
150 | "Q3ColorDrag", "Q3ComboBox", "Q3ComboTableItem", "Q3CString",
|
---|
151 | "Q3DataBrowser", "Q3DataTable", "Q3DataView", "Q3DateEdit",
|
---|
152 | "Q3DateTimeEdit", "Q3DateTimeEditBase", "Q3DeepCopy", "Q3Dict",
|
---|
153 | "Q3DictIterator", "Q3Dns", "Q3DnsSocket", "Q3DockArea",
|
---|
154 | "Q3DockAreaLayout", "Q3DockWindow", "Q3DragObject", "Q3DropSite",
|
---|
155 | "Q3EditorFactory", "Q3FileDialog", "Q3FileIconProvider",
|
---|
156 | "Q3FilePreview", "Q3Frame", "Q3Ftp", "Q3GArray", "Q3GCache",
|
---|
157 | "Q3GCacheIterator", "Q3GDict", "Q3GDictIterator", "Q3GList",
|
---|
158 | "Q3GListIterator", "Q3GListStdIterator", "Q3Grid", "Q3GridLayout",
|
---|
159 | "Q3GridView", "Q3GroupBox", "Q3GVector", "Q3HBox", "Q3HBoxLayout",
|
---|
160 | "Q3HButtonGroup", "Q3Header", "Q3HGroupBox", "Q3Http",
|
---|
161 | "Q3HttpHeader", "Q3HttpRequestHeader", "Q3HttpResponseHeader",
|
---|
162 | "Q3IconDrag", "Q3IconDragItem", "Q3IconView", "Q3IconViewItem",
|
---|
163 | "Q3ImageDrag", "Q3IntBucket", "Q3IntCache", "Q3IntCacheIterator",
|
---|
164 | "Q3IntDict", "Q3IntDictIterator", "Q3ListBox", "Q3ListBoxItem",
|
---|
165 | "Q3ListBoxPixmap", "Q3ListBoxText", "Q3ListView", "Q3ListViewItem",
|
---|
166 | "Q3ListViewItemIterator", "Q3LNode", "Q3LocalFs", "Q3MainWindow",
|
---|
167 | "Q3MemArray", "Q3MimeSourceFactory", "Q3MultiLineEdit",
|
---|
168 | "Q3NetworkOperation", "Q3NetworkProtocol", "Q3NetworkProtocolDict",
|
---|
169 | "Q3NetworkProtocolFactory", "Q3NetworkProtocolFactoryBase",
|
---|
170 | "Q3ObjectDictionary", "Q3PaintDeviceMetrics", "Q3Painter",
|
---|
171 | "Q3Picture", "Q3PointArray", "Q3PolygonScanner", "Q3PopupMenu",
|
---|
172 | "Q3Process", "Q3ProgressBar", "Q3ProgressDialog", "Q3PtrBucket",
|
---|
173 | "Q3PtrCollection", "Q3PtrDict", "Q3PtrDictIterator", "Q3PtrList",
|
---|
174 | "Q3PtrListIterator", "Q3PtrListStdIterator", "Q3PtrQueue",
|
---|
175 | "Q3PtrStack", "Q3PtrVector", "Q3RangeControl", "Q3ScrollView",
|
---|
176 | "Q3Semaphore", "Q3ServerSocket", "Q3Shared", "Q3Signal",
|
---|
177 | "Q3SimpleRichText", "Q3SingleCleanupHandler", "Q3Socket",
|
---|
178 | "Q3SocketDevice", "Q3SortedList", "Q3SpinWidget", "Q3SqlCursor",
|
---|
179 | "Q3SqlEditorFactory", "Q3SqlFieldInfo", "Q3SqlFieldInfoList",
|
---|
180 | "Q3SqlForm", "Q3SqlPropertyMap", "Q3SqlRecordInfo",
|
---|
181 | "Q3SqlSelectCursor", "Q3StoredDrag", "Q3StrIList", "Q3StringBucket",
|
---|
182 | "Q3StrIVec", "Q3StrList", "Q3StrListIterator", "Q3StrVec",
|
---|
183 | "Q3StyleSheet", "Q3StyleSheetItem", "Q3SyntaxHighlighter",
|
---|
184 | "Q3TabDialog", "Q3Table", "Q3TableItem", "Q3TableSelection",
|
---|
185 | "Q3TextBrowser", "Q3TextDrag", "Q3TextEdit",
|
---|
186 | "Q3TextEditOptimPrivate", "Q3TextStream", "Q3TextView",
|
---|
187 | "Q3TimeEdit", "Q3ToolBar", "Q3TSFUNC", "Q3UriDrag", "Q3Url",
|
---|
188 | "Q3UrlOperator", "Q3ValueList", "Q3ValueListConstIterator",
|
---|
189 | "Q3ValueListIterator", "Q3ValueStack", "Q3ValueVector", "Q3VBox",
|
---|
190 | "Q3VBoxLayout", "Q3VButtonGroup", "Q3VGroupBox", "Q3WhatsThis",
|
---|
191 | "Q3WidgetStack", "Q3Wizard", "QAbstractButton",
|
---|
192 | "QAbstractEventDispatcher", "QAbstractExtensionFactory",
|
---|
193 | "QAbstractExtensionManager", "QAbstractFileEngine",
|
---|
194 | "QAbstractFileEngineHandler", "QAbstractFileEngineIterator",
|
---|
195 | "QAbstractFormBuilder", "QAbstractGraphicsShapeItem",
|
---|
196 | "QAbstractItemDelegate", "QAbstractItemModel", "QAbstractItemView",
|
---|
197 | "QAbstractListModel", "QAbstractMessageHandler",
|
---|
198 | "QAbstractNetworkCache", "QAbstractPageSetupDialog",
|
---|
199 | "QAbstractPrintDialog", "QAbstractProxyModel",
|
---|
200 | "QAbstractScrollArea", "QAbstractSlider", "QAbstractSocket",
|
---|
201 | "QAbstractSpinBox", "QAbstractTableModel",
|
---|
202 | "QAbstractTextDocumentLayout", "QAbstractUndoItem",
|
---|
203 | "QAbstractUriResolver", "QAbstractXmlNodeModel",
|
---|
204 | "QAbstractXmlReceiver", "QAccessible", "QAccessible2Interface",
|
---|
205 | "QAccessibleApplication", "QAccessibleBridge",
|
---|
206 | "QAccessibleBridgeFactoryInterface", "QAccessibleBridgePlugin",
|
---|
207 | "QAccessibleEditableTextInterface", "QAccessibleEvent",
|
---|
208 | "QAccessibleFactoryInterface", "QAccessibleInterface",
|
---|
209 | "QAccessibleInterfaceEx", "QAccessibleObject",
|
---|
210 | "QAccessibleObjectEx", "QAccessiblePlugin",
|
---|
211 | "QAccessibleSimpleEditableTextInterface",
|
---|
212 | "QAccessibleTableInterface", "QAccessibleTextInterface",
|
---|
213 | "QAccessibleValueInterface", "QAccessibleWidget",
|
---|
214 | "QAccessibleWidgetEx", "QAction", "QActionEvent", "QActionGroup",
|
---|
215 | "QApplication", "QArgument", "QAssistantClient", "QAtomicInt",
|
---|
216 | "QAtomicPointer", "QAuthenticator", "QBasicAtomicInt",
|
---|
217 | "QBasicAtomicPointer", "QBasicTimer", "QBitArray", "QBitmap",
|
---|
218 | "QBitRef", "QBool", "QBoxLayout", "QBrush", "QBrushData", "QBuffer",
|
---|
219 | "QButtonGroup", "QByteArray", "QByteArrayMatcher", "QByteRef",
|
---|
220 | "QCache", "QCalendarWidget", "QCDEStyle", "QChar", "QCharRef",
|
---|
221 | "QCheckBox", "QChildEvent", "QCleanlooksStyle", "QClipboard",
|
---|
222 | "QClipboardEvent", "QCloseEvent", "QColor", "QColorDialog",
|
---|
223 | "QColorGroup", "QColormap", "QColumnView", "QComboBox",
|
---|
224 | "QCommandLinkButton", "QCommonStyle", "QCompleter",
|
---|
225 | "QConicalGradient", "QConstString", "QContextMenuEvent", "QCOORD",
|
---|
226 | "QCoreApplication", "QCryptographicHash", "QCursor", "QCursorShape",
|
---|
227 | "QCustomEvent", "QDataStream", "QDataWidgetMapper", "QDate",
|
---|
228 | "QDateEdit", "QDateTime", "QDateTimeEdit", "QDB2Driver",
|
---|
229 | "QDB2Result", "QDBusAbstractAdaptor", "QDBusAbstractInterface",
|
---|
230 | "QDBusArgument", "QDBusConnection", "QDBusConnectionInterface",
|
---|
231 | "QDBusContext", "QDBusError", "QDBusInterface", "QDBusMessage",
|
---|
232 | "QDBusMetaType", "QDBusObjectPath", "QDBusPendingCall",
|
---|
233 | "QDBusPendingCallWatcher", "QDBusPendingReply",
|
---|
234 | "QDBusPendingReplyData", "QDBusReply", "QDBusServer",
|
---|
235 | "QDBusSignature", "QDBusVariant", "QDebug",
|
---|
236 | "QDesignerActionEditorInterface", "QDesignerBrushManagerInterface",
|
---|
237 | "QDesignerComponents", "QDesignerContainerExtension",
|
---|
238 | "QDesignerCustomWidgetCollectionInterface",
|
---|
239 | "QDesignerCustomWidgetInterface", "QDesignerDnDItemInterface",
|
---|
240 | "QDesignerDynamicPropertySheetExtension", "QDesignerExportWidget",
|
---|
241 | "QDesignerExtraInfoExtension", "QDesignerFormEditorInterface",
|
---|
242 | "QDesignerFormEditorPluginInterface", "QDesignerFormWindowCursorInterface",
|
---|
243 | "QDesignerFormWindowInterface", "QDesignerFormWindowManagerInterface",
|
---|
244 | "QDesignerFormWindowToolInterface",
|
---|
245 | "QDesignerIconCacheInterface", "QDesignerIntegrationInterface",
|
---|
246 | "QDesignerLanguageExtension", "QDesignerLayoutDecorationExtension",
|
---|
247 | "QDesignerMemberSheetExtension", "QDesignerMetaDataBaseInterface",
|
---|
248 | "QDesignerMetaDataBaseItemInterface",
|
---|
249 | "QDesignerObjectInspectorInterface", "QDesignerPromotionInterface",
|
---|
250 | "QDesignerPropertyEditorInterface",
|
---|
251 | "QDesignerPropertySheetExtension", "QDesignerResourceBrowserInterface",
|
---|
252 | "QDesignerTaskMenuExtension", "QDesignerWidgetBoxInterface",
|
---|
253 | "QDesignerWidgetDataBaseInterface", "QDesignerWidgetDataBaseItemInterface",
|
---|
254 | "QDesignerWidgetFactoryInterface", "QDesktopServices",
|
---|
255 | "QDesktopWidget", "QDial", "QDialog", "QDialogButtonBox", "QDir",
|
---|
256 | "QDirIterator", "QDirModel", "QDockWidget", "QDomAttr",
|
---|
257 | "QDomCDATASection", "QDomCharacterData", "QDomComment",
|
---|
258 | "QDomDocument", "QDomDocumentFragment", "QDomDocumentType",
|
---|
259 | "QDomElement", "QDomEntity", "QDomEntityReference",
|
---|
260 | "QDomImplementation", "QDomNamedNodeMap", "QDomNode",
|
---|
261 | "QDomNodeList", "QDomNotation", "QDomProcessingInstruction",
|
---|
262 | "QDomText", "QDoubleSpinBox", "QDoubleValidator", "QDrag",
|
---|
263 | "QDragEnterEvent", "QDragLeaveEvent", "QDragMoveEvent",
|
---|
264 | "QDragResponseEvent", "QDropEvent", "QDynamicPropertyChangeEvent",
|
---|
265 | "QErrorMessage", "QEvent", "QEventLoop", "QEventSizeOfChecker",
|
---|
266 | "QExplicitlySharedDataPointer", "QExtensionFactory",
|
---|
267 | "QExtensionManager", "QFactoryInterface", "QFile", "QFileDialog",
|
---|
268 | "QFileIconProvider", "QFileInfo", "QFileInfoList",
|
---|
269 | "QFileInfoListIterator", "QFileOpenEvent", "QFileSystemModel",
|
---|
270 | "QFileSystemWatcher", "QFlag", "QFlags", "QFocusEvent",
|
---|
271 | "QFocusFrame", "QFont", "QFontComboBox", "QFontDatabase",
|
---|
272 | "QFontDialog", "QFontInfo", "QFontMetrics", "QFontMetricsF",
|
---|
273 | "QForeachContainer", "QForeachContainerBase", "QFormBuilder",
|
---|
274 | "QFormLayout", "QFrame", "QFSFileEngine", "QFtp", "QFuture",
|
---|
275 | "QFutureInterface", "QFutureInterfaceBase", "QFutureIterator",
|
---|
276 | "QFutureSynchronizer", "QFutureWatcher", "QFutureWatcherBase",
|
---|
277 | "QGenericArgument", "QGenericReturnArgument", "QGLColormap",
|
---|
278 | "QGLContext", "QGLFormat", "QGLFramebufferObject", "QGlobalStatic",
|
---|
279 | "QGlobalStaticDeleter", "QGLPixelBuffer", "QGLWidget", "QGradient",
|
---|
280 | "QGradientStop", "QGradientStops", "QGraphicsEllipseItem",
|
---|
281 | "QGraphicsGridLayout", "QGraphicsItem", "QGraphicsItemAnimation",
|
---|
282 | "QGraphicsItemGroup", "QGraphicsLayout", "QGraphicsLayoutItem",
|
---|
283 | "QGraphicsLinearLayout", "QGraphicsLineItem", "QGraphicsPathItem",
|
---|
284 | "QGraphicsPixmapItem", "QGraphicsPolygonItem",
|
---|
285 | "QGraphicsProxyWidget", "QGraphicsRectItem", "QGraphicsScene",
|
---|
286 | "QGraphicsSceneContextMenuEvent", "QGraphicsSceneDragDropEvent",
|
---|
287 | "QGraphicsSceneEvent", "QGraphicsSceneHelpEvent",
|
---|
288 | "QGraphicsSceneHoverEvent", "QGraphicsSceneMouseEvent",
|
---|
289 | "QGraphicsSceneMoveEvent", "QGraphicsSceneResizeEvent",
|
---|
290 | "QGraphicsSceneWheelEvent", "QGraphicsSimpleTextItem",
|
---|
291 | "QGraphicsSvgItem", "QGraphicsTextItem", "QGraphicsView",
|
---|
292 | "QGraphicsWidget", "QGridLayout", "QGroupBox", "QGtkStyle", "QHash",
|
---|
293 | "QHashData", "QHashDummyNode", "QHashDummyValue", "QHashIterator",
|
---|
294 | "QHashNode", "QHBoxLayout", "QHeaderView", "QHelpContentItem",
|
---|
295 | "QHelpContentModel", "QHelpContentWidget", "QHelpEngine",
|
---|
296 | "QHelpEngineCore", "QHelpEvent", "QHelpGlobal", "QHelpIndexModel",
|
---|
297 | "QHelpIndexWidget", "QHelpSearchEngine", "QHelpSearchQuery",
|
---|
298 | "QHelpSearchQueryWidget", "QHelpSearchResultWidget", "QHideEvent",
|
---|
299 | "QHostAddress", "QHostInfo", "QHoverEvent", "QHttp", "QHttpHeader",
|
---|
300 | "QHttpRequestHeader", "QHttpResponseHeader", "QIBaseDriver",
|
---|
301 | "QIBaseResult", "QIcon", "QIconDragEvent", "QIconEngine",
|
---|
302 | "QIconEngineFactoryInterface", "QIconEngineFactoryInterfaceV2",
|
---|
303 | "QIconEnginePlugin", "QIconEnginePluginV2", "QIconEngineV2",
|
---|
304 | "QIconSet", "QImage", "QImageIOHandler",
|
---|
305 | "QImageIOHandlerFactoryInterface", "QImageIOPlugin", "QImageReader",
|
---|
306 | "QImageTextKeyLang", "QImageWriter", "QIncompatibleFlag",
|
---|
307 | "QInputContext", "QInputContextFactory",
|
---|
308 | "QInputContextFactoryInterface", "QInputContextPlugin",
|
---|
309 | "QInputDialog", "QInputEvent", "QInputMethodEvent", "Q_INT16",
|
---|
310 | "Q_INT32", "Q_INT64", "Q_INT8", "QInternal", "QIntForSize",
|
---|
311 | "QIntForType", "QIntValidator", "QIODevice", "Q_IPV6ADDR",
|
---|
312 | "QIPv6Address", "QItemDelegate", "QItemEditorCreator",
|
---|
313 | "QItemEditorCreatorBase", "QItemEditorFactory", "QItemSelection",
|
---|
314 | "QItemSelectionModel", "QItemSelectionRange", "QKeyEvent",
|
---|
315 | "QKeySequence", "QLabel", "QLatin1Char", "QLatin1String", "QLayout",
|
---|
316 | "QLayoutItem", "QLayoutIterator", "QLCDNumber", "QLibrary",
|
---|
317 | "QLibraryInfo", "QLine", "QLinearGradient", "QLineEdit", "QLineF",
|
---|
318 | "QLinkedList", "QLinkedListData", "QLinkedListIterator",
|
---|
319 | "QLinkedListNode", "QList", "QListData", "QListIterator",
|
---|
320 | "QListView", "QListWidget", "QListWidgetItem", "Q_LLONG", "QLocale",
|
---|
321 | "QLocalServer", "QLocalSocket", "Q_LONG", "QMacCompatGLenum",
|
---|
322 | "QMacCompatGLint", "QMacCompatGLuint", "QMacGLCompatTypes",
|
---|
323 | "QMacMime", "QMacPasteboardMime", "QMainWindow", "QMap", "QMapData",
|
---|
324 | "QMapIterator", "QMapNode", "QMapPayloadNode", "QMatrix",
|
---|
325 | "QMdiArea", "QMdiSubWindow", "QMenu", "QMenuBar",
|
---|
326 | "QMenubarUpdatedEvent", "QMenuItem", "QMessageBox",
|
---|
327 | "QMetaClassInfo", "QMetaEnum", "QMetaMethod", "QMetaObject",
|
---|
328 | "QMetaObjectExtraData", "QMetaProperty", "QMetaType", "QMetaTypeId",
|
---|
329 | "QMetaTypeId2", "QMimeData", "QMimeSource", "QModelIndex",
|
---|
330 | "QModelIndexList", "QMotifStyle", "QMouseEvent", "QMoveEvent",
|
---|
331 | "QMovie", "QMultiHash", "QMultiMap", "QMutableFutureIterator",
|
---|
332 | "QMutableHashIterator", "QMutableLinkedListIterator",
|
---|
333 | "QMutableListIterator", "QMutableMapIterator",
|
---|
334 | "QMutableSetIterator", "QMutableStringListIterator",
|
---|
335 | "QMutableVectorIterator", "QMutex", "QMutexLocker", "QMYSQLDriver",
|
---|
336 | "QMYSQLResult", "QNetworkAccessManager", "QNetworkAddressEntry",
|
---|
337 | "QNetworkCacheMetaData", "QNetworkCookie", "QNetworkCookieJar",
|
---|
338 | "QNetworkDiskCache", "QNetworkInterface", "QNetworkProxy",
|
---|
339 | "QNetworkProxyFactory", "QNetworkProxyQuery", "QNetworkReply",
|
---|
340 | "QNetworkRequest", "QNoDebug", "QNoImplicitBoolCast", "QObject",
|
---|
341 | "QObjectCleanupHandler", "QObjectData", "QObjectList",
|
---|
342 | "QObjectUserData", "QOCIDriver", "QOCIResult", "QODBCDriver",
|
---|
343 | "QODBCResult", "QPageSetupDialog", "QPaintDevice", "QPaintEngine",
|
---|
344 | "QPaintEngineState", "QPainter", "QPainterPath",
|
---|
345 | "QPainterPathPrivate", "QPainterPathStroker", "QPaintEvent",
|
---|
346 | "QPair", "QPalette", "QPen", "QPersistentModelIndex", "QPicture",
|
---|
347 | "QPictureFormatInterface", "QPictureFormatPlugin", "QPictureIO",
|
---|
348 | "Q_PID", "QPixmap", "QPixmapCache", "QPlainTextDocumentLayout",
|
---|
349 | "QPlainTextEdit", "QPlastiqueStyle", "QPluginLoader", "QPoint",
|
---|
350 | "QPointer", "QPointF", "QPolygon", "QPolygonF", "QPrintDialog",
|
---|
351 | "QPrintEngine", "QPrinter", "QPrinterInfo", "QPrintPreviewDialog",
|
---|
352 | "QPrintPreviewWidget", "QProcess", "QProgressBar",
|
---|
353 | "QProgressDialog", "QProxyModel", "QPSQLDriver", "QPSQLResult",
|
---|
354 | "QPushButton", "QQueue", "QRadialGradient", "QRadioButton",
|
---|
355 | "QReadLocker", "QReadWriteLock", "QRect", "QRectF", "QRegExp",
|
---|
356 | "QRegExpValidator", "QRegion", "QResizeEvent", "QResource",
|
---|
357 | "QReturnArgument", "QRgb", "QRubberBand", "QRunnable",
|
---|
358 | "QScriptable", "QScriptClass", "QScriptClassPropertyIterator",
|
---|
359 | "QScriptContext", "QScriptContextInfo", "QScriptContextInfoList",
|
---|
360 | "QScriptEngine", "QScriptEngineAgent", "QScriptEngineDebugger",
|
---|
361 | "QScriptExtensionInterface", "QScriptExtensionPlugin",
|
---|
362 | "QScriptString", "QScriptSyntaxCheckResult", "QScriptValue",
|
---|
363 | "QScriptValueIterator", "QScriptValueList", "QScrollArea",
|
---|
364 | "QScrollBar", "QSemaphore", "QSessionManager", "QSet",
|
---|
365 | "QSetIterator", "QSettings", "QSharedData", "QSharedDataPointer",
|
---|
366 | "QSharedMemory", "QSharedPointer", "QShortcut", "QShortcutEvent",
|
---|
367 | "QShowEvent", "QSignalMapper", "QSignalSpy", "QSimpleXmlNodeModel",
|
---|
368 | "QSize", "QSizeF", "QSizeGrip", "QSizePolicy", "QSlider",
|
---|
369 | "QSocketNotifier", "QSortFilterProxyModel", "QSound",
|
---|
370 | "QSourceLocation", "QSpacerItem", "QSpinBox", "QSplashScreen",
|
---|
371 | "QSplitter", "QSplitterHandle", "QSpontaneKeyEvent", "QSqlDatabase",
|
---|
372 | "QSqlDriver", "QSqlDriverCreator", "QSqlDriverCreatorBase",
|
---|
373 | "QSqlDriverFactoryInterface", "QSqlDriverPlugin", "QSqlError",
|
---|
374 | "QSqlField", "QSqlIndex", "QSQLite2Driver", "QSQLite2Result",
|
---|
375 | "QSQLiteDriver", "QSQLiteResult", "QSqlQuery", "QSqlQueryModel",
|
---|
376 | "QSqlRecord", "QSqlRelation", "QSqlRelationalDelegate",
|
---|
377 | "QSqlRelationalTableModel", "QSqlResult", "QSqlTableModel", "QSsl",
|
---|
378 | "QSslCertificate", "QSslCipher", "QSslConfiguration", "QSslError",
|
---|
379 | "QSslKey", "QSslSocket", "QStack", "QStackedLayout",
|
---|
380 | "QStackedWidget", "QStandardItem", "QStandardItemEditorCreator",
|
---|
381 | "QStandardItemModel", "QStatusBar", "QStatusTipEvent",
|
---|
382 | "QStdWString", "QString", "QStringList", "QStringListIterator",
|
---|
383 | "QStringListModel", "QStringMatcher", "QStringRef", "QStyle",
|
---|
384 | "QStyledItemDelegate", "QStyleFactory", "QStyleFactoryInterface",
|
---|
385 | "QStyleHintReturn", "QStyleHintReturnMask",
|
---|
386 | "QStyleHintReturnVariant", "QStyleOption", "QStyleOptionButton",
|
---|
387 | "QStyleOptionComboBox", "QStyleOptionComplex",
|
---|
388 | "QStyleOptionDockWidget", "QStyleOptionDockWidgetV2",
|
---|
389 | "QStyleOptionFocusRect", "QStyleOptionFrame", "QStyleOptionFrameV2",
|
---|
390 | "QStyleOptionFrameV3", "QStyleOptionGraphicsItem",
|
---|
391 | "QStyleOptionGroupBox", "QStyleOptionHeader",
|
---|
392 | "QStyleOptionMenuItem", "QStyleOptionProgressBar",
|
---|
393 | "QStyleOptionProgressBarV2", "QStyleOptionQ3DockWindow",
|
---|
394 | "QStyleOptionQ3ListView", "QStyleOptionQ3ListViewItem",
|
---|
395 | "QStyleOptionRubberBand", "QStyleOptionSizeGrip",
|
---|
396 | "QStyleOptionSlider", "QStyleOptionSpinBox", "QStyleOptionTab",
|
---|
397 | "QStyleOptionTabBarBase", "QStyleOptionTabBarBaseV2",
|
---|
398 | "QStyleOptionTabV2", "QStyleOptionTabV3",
|
---|
399 | "QStyleOptionTabWidgetFrame", "QStyleOptionTitleBar",
|
---|
400 | "QStyleOptionToolBar", "QStyleOptionToolBox",
|
---|
401 | "QStyleOptionToolBoxV2", "QStyleOptionToolButton",
|
---|
402 | "QStyleOptionViewItem", "QStyleOptionViewItemV2",
|
---|
403 | "QStyleOptionViewItemV3", "QStyleOptionViewItemV4", "QStylePainter",
|
---|
404 | "QStylePlugin", "QSvgGenerator", "QSvgRenderer", "QSvgWidget",
|
---|
405 | "QSyntaxHighlighter", "QSysInfo", "QSystemLocale",
|
---|
406 | "QSystemSemaphore", "QSystemTrayIcon", "Qt", "Qt3Support",
|
---|
407 | "QTabBar", "QTabletEvent", "QTableView", "QTableWidget",
|
---|
408 | "QTableWidgetItem", "QTableWidgetSelectionRange", "QTabWidget",
|
---|
409 | "QtAlgorithms", "QtAssistant", "QtCleanUpFunction",
|
---|
410 | "QtConcurrentFilter", "QtConcurrentMap", "QtConcurrentRun",
|
---|
411 | "QtContainerFwd", "QtCore", "QTcpServer", "QTcpSocket", "QtDBus",
|
---|
412 | "QtDebug", "QtDesigner", "QTDSDriver", "QTDSResult",
|
---|
413 | "QTemporaryFile", "QtEndian", "QTest", "QTestAccessibility",
|
---|
414 | "QTestAccessibilityEvent", "QTestData", "QTestDelayEvent",
|
---|
415 | "QTestEvent", "QTestEventList", "QTestEventLoop",
|
---|
416 | "QTestKeyClicksEvent", "QTestKeyEvent", "QTestMouseEvent",
|
---|
417 | "QtEvents", "QTextBlock", "QTextBlockFormat", "QTextBlockGroup",
|
---|
418 | "QTextBlockUserData", "QTextBoundaryFinder", "QTextBrowser",
|
---|
419 | "QTextCharFormat", "QTextCodec", "QTextCodecFactoryInterface",
|
---|
420 | "QTextCodecPlugin", "QTextCursor", "QTextDecoder", "QTextDocument",
|
---|
421 | "QTextDocumentFragment", "QTextDocumentWriter", "QTextEdit",
|
---|
422 | "QTextEncoder", "QTextFormat", "QTextFragment", "QTextFrame",
|
---|
423 | "QTextFrameFormat", "QTextFrameLayoutData", "QTextImageFormat",
|
---|
424 | "QTextInlineObject", "QTextIStream", "QTextItem", "QTextLayout",
|
---|
425 | "QTextLength", "QTextLine", "QTextList", "QTextListFormat",
|
---|
426 | "QTextObject", "QTextObjectInterface", "QTextOption",
|
---|
427 | "QTextOStream", "QTextStream", "QTextStreamFunction",
|
---|
428 | "QTextStreamManipulator", "QTextTable", "QTextTableCell",
|
---|
429 | "QTextTableCellFormat", "QTextTableFormat", "QtGlobal", "QtGui",
|
---|
430 | "QtHelp", "QThread", "QThreadPool", "QThreadStorage",
|
---|
431 | "QThreadStorageData", "QTime", "QTimeEdit", "QTimeLine", "QTimer",
|
---|
432 | "QTimerEvent", "QtMsgHandler", "QtNetwork", "QToolBar",
|
---|
433 | "QToolBarChangeEvent", "QToolBox", "QToolButton", "QToolTip",
|
---|
434 | "QtOpenGL", "QtPlugin", "QtPluginInstanceFunction", "QTransform",
|
---|
435 | "QTranslator", "QTreeView", "QTreeWidget", "QTreeWidgetItem",
|
---|
436 | "QTreeWidgetItemIterator", "QTS", "QtScript", "QtScriptTools",
|
---|
437 | "QtSql", "QtSvg", "QtTest", "QtUiTools", "QtWebKit", "QtXml",
|
---|
438 | "QtXmlPatterns", "QTypeInfo", "QUdpSocket", "QUiLoader",
|
---|
439 | "QUintForSize", "QUintForType", "QUndoCommand", "QUndoGroup",
|
---|
440 | "QUndoStack", "QUndoView", "QUnixPrintWidget", "QUpdateLaterEvent",
|
---|
441 | "QUrl", "QUrlInfo", "QUuid", "QValidator", "QVariant",
|
---|
442 | "QVariantComparisonHelper", "QVariantHash", "QVariantList",
|
---|
443 | "QVariantMap", "QVarLengthArray", "QVBoxLayout", "QVector",
|
---|
444 | "QVectorData", "QVectorIterator", "QVectorTypedData",
|
---|
445 | "QWaitCondition", "QWeakPointer", "QWebDatabase", "QWebFrame",
|
---|
446 | "QWebHistory", "QWebHistoryInterface", "QWebHistoryItem",
|
---|
447 | "QWebHitTestResult", "QWebPage", "QWebPluginFactory",
|
---|
448 | "QWebSecurityOrigin", "QWebSettings", "QWebView", "QWhatsThis",
|
---|
449 | "QWhatsThisClickedEvent", "QWheelEvent", "QWidget", "QWidgetAction",
|
---|
450 | "QWidgetData", "QWidgetItem", "QWidgetItemV2", "QWidgetList",
|
---|
451 | "QWidgetMapper", "QWidgetSet", "QWindowsCEStyle", "QWindowsMime",
|
---|
452 | "QWindowsMobileStyle", "QWindowsStyle", "QWindowStateChangeEvent",
|
---|
453 | "QWindowsVistaStyle", "QWindowsXPStyle", "QWizard", "QWizardPage",
|
---|
454 | "QWMatrix", "QWorkspace", "QWriteLocker", "QX11EmbedContainer",
|
---|
455 | "QX11EmbedWidget", "QX11Info", "QXmlAttributes",
|
---|
456 | "QXmlContentHandler", "QXmlDeclHandler", "QXmlDefaultHandler",
|
---|
457 | "QXmlDTDHandler", "QXmlEntityResolver", "QXmlErrorHandler",
|
---|
458 | "QXmlFormatter", "QXmlInputSource", "QXmlItem",
|
---|
459 | "QXmlLexicalHandler", "QXmlLocator", "QXmlName", "QXmlNamePool",
|
---|
460 | "QXmlNamespaceSupport", "QXmlNodeModelIndex", "QXmlParseException",
|
---|
461 | "QXmlQuery", "QXmlReader", "QXmlResultItems", "QXmlSerializer",
|
---|
462 | "QXmlSimpleReader", "QXmlStreamAttribute", "QXmlStreamAttributes",
|
---|
463 | "QXmlStreamEntityDeclaration", "QXmlStreamEntityDeclarations",
|
---|
464 | "QXmlStreamEntityResolver", "QXmlStreamNamespaceDeclaration",
|
---|
465 | "QXmlStreamNamespaceDeclarations", "QXmlStreamNotationDeclaration",
|
---|
466 | "QXmlStreamNotationDeclarations", "QXmlStreamReader",
|
---|
467 | "QXmlStreamStringRef", "QXmlStreamWriter"
|
---|
468 | )
|
---|
469 | ),
|
---|
470 | 'SYMBOLS' => array(
|
---|
471 | '(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':', ',', ';', '|', '<', '>'
|
---|
472 | ),
|
---|
473 | 'CASE_SENSITIVE' => array(
|
---|
474 | GESHI_COMMENTS => false,
|
---|
475 | 1 => true,
|
---|
476 | 2 => true,
|
---|
477 | 3 => true,
|
---|
478 | 4 => true,
|
---|
479 | 5 => true,
|
---|
480 | ),
|
---|
481 | 'STYLES' => array(
|
---|
482 | 'KEYWORDS' => array(
|
---|
483 | 1 => 'color: #000000; font-weight:bold;',
|
---|
484 | 2 => 'color: #0057AE;',
|
---|
485 | 3 => 'color: #2B74C7;',
|
---|
486 | 4 => 'color: #0057AE;',
|
---|
487 | 5 => 'color: #22aadd;'
|
---|
488 | ),
|
---|
489 | 'COMMENTS' => array(
|
---|
490 | 1 => 'color: #888888;',
|
---|
491 | 2 => 'color: #006E28;',
|
---|
492 | 'MULTI' => 'color: #888888; font-style: italic;'
|
---|
493 | ),
|
---|
494 | 'ESCAPE_CHAR' => array(
|
---|
495 | 0 => 'color: #000099; font-weight: bold;',
|
---|
496 | 1 => 'color: #000099; font-weight: bold;',
|
---|
497 | 2 => 'color: #660099; font-weight: bold;',
|
---|
498 | 3 => 'color: #660099; font-weight: bold;',
|
---|
499 | 4 => 'color: #660099; font-weight: bold;',
|
---|
500 | 5 => 'color: #006699; font-weight: bold;',
|
---|
501 | 'HARD' => '',
|
---|
502 | ),
|
---|
503 | 'BRACKETS' => array(
|
---|
504 | 0 => 'color: #006E28;'
|
---|
505 | ),
|
---|
506 | 'STRINGS' => array(
|
---|
507 | 0 => 'color: #BF0303;'
|
---|
508 | ),
|
---|
509 | 'NUMBERS' => array(
|
---|
510 | 0 => 'color: #B08000;',
|
---|
511 | GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
|
---|
512 | GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
|
---|
513 | GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
|
---|
514 | GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
|
---|
515 | GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
|
---|
516 | GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
|
---|
517 | GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
|
---|
518 | ),
|
---|
519 | 'METHODS' => array(
|
---|
520 | 1 => 'color: #2B74C7;',
|
---|
521 | 2 => 'color: #2B74C7;',
|
---|
522 | 3 => 'color: #2B74C7;'
|
---|
523 | ),
|
---|
524 | 'SYMBOLS' => array(
|
---|
525 | 0 => 'color: #006E28;'
|
---|
526 | ),
|
---|
527 | 'REGEXPS' => array(
|
---|
528 | ),
|
---|
529 | 'SCRIPT' => array(
|
---|
530 | )
|
---|
531 | ),
|
---|
532 | 'URLS' => array(
|
---|
533 | 1 => '',
|
---|
534 | 2 => '',
|
---|
535 | 3 => '',
|
---|
536 | 4 => '',
|
---|
537 | 5 => 'http://doc.trolltech.com/latest/{FNAMEL}.html'
|
---|
538 | ),
|
---|
539 | 'OOLANG' => true,
|
---|
540 | 'OBJECT_SPLITTERS' => array(
|
---|
541 | 1 => '.',
|
---|
542 | 2 => '::',
|
---|
543 | 3 => '->',
|
---|
544 | ),
|
---|
545 | 'REGEXPS' => array(
|
---|
546 | ),
|
---|
547 | 'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
---|
548 | 'SCRIPT_DELIMITERS' => array(
|
---|
549 | ),
|
---|
550 | 'HIGHLIGHT_STRICT_BLOCK' => array(
|
---|
551 | ),
|
---|
552 | 'TAB_WIDTH' => 4,
|
---|
553 | 'PARSER_CONTROL' => array(
|
---|
554 | 'KEYWORDS' => array(
|
---|
555 | 'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#>|^])",
|
---|
556 | 'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_<\|%\\-])"
|
---|
557 | ),
|
---|
558 | 'OOLANG' => array(
|
---|
559 | 'MATCH_AFTER' => '~?[a-zA-Z][a-zA-Z0-9_]*',
|
---|
560 | )
|
---|
561 | )
|
---|
562 | );
|
---|
563 |
|
---|
564 | ?> |
---|