plugins/geshi/geshi/objc.php
author Dan
Fri, 29 May 2009 19:40:15 -0400
changeset 3 f3e2bbbd2155
parent 2 9e3258dfae15
permissions -rw-r--r--
Updated to latest GeSHi, 1.0.8.4, released May 23, 2009.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     1
<?php
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     2
/*************************************************************************************
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     3
 * objc.php
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     4
 * --------
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     5
 * Author: M. Uli Kusterer (witness.of.teachtext@gmx.net)
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
     6
 * Contributors: Quinn Taylor (quinntaylor@mac.com)
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
     7
 * Copyright: (c) 2008 Quinn Taylor, 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/)
3
f3e2bbbd2155 Updated to latest GeSHi, 1.0.8.4, released May 23, 2009.
Dan
parents: 2
diff changeset
     8
 * Release Version: 1.0.8.4
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     9
 * Date Started: 2004/06/04
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    10
 *
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    11
 * Objective-C language file for GeSHi.
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    12
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    13
 * CHANGES
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    14
 * -------
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    15
 * 2008/07/11 (1.0.8)
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    16
 *   -  Added support for @ before strings being highlighted
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    17
 * 2008/06/10 (1.0.7.22)
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    18
 *   -  Added keywords for Objective-C 2.0 (Leopard+).
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    19
 *   -  Changed colors to match Xcode 3 highlighting more closely.
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    20
 *   -  Updated API for AppKit and Foundation; added CoreData classes.
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    21
 *   -  Updated URLs for AppKit and Foundation; split classes and protocols.
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    22
 *   -  Sorted all keyword group in reverse-alpha order for correct matching.
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    23
 *   -  Changed all keyword groups to be case-sensitive.
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    24
 * 2004/11/27 (1.0.0)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    25
 *   -  First Release
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    26
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    27
 * TODO (updated 2004/11/27)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    28
 * -------------------------
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    29
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    30
 *************************************************************************************
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    31
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    32
 *     This file is part of GeSHi.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    33
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    34
 *   GeSHi is free software; you can redistribute it and/or modify
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    35
 *   it under the terms of the GNU General Public License as published by
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    36
 *   the Free Software Foundation; either version 2 of the License, or
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    37
 *   (at your option) any later version.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    38
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    39
 *   GeSHi is distributed in the hope that it will be useful,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    40
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    41
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    42
 *   GNU General Public License for more details.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    43
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    44
 *   You should have received a copy of the GNU General Public License
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    45
 *   along with GeSHi; if not, write to the Free Software
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    46
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    47
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    48
 ************************************************************************************/
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    49
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    50
$language_data = array (
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    51
    'LANG_NAME' => 'Objective-C',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    52
    'COMMENT_SINGLE' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    53
        //Compiler directives
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    54
        1 => '#',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    55
        //Single line C-Comments
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    56
        2 => '//'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    57
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    58
    'COMMENT_MULTI' => array('/*' => '*/'),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    59
    'COMMENT_REGEXP' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    60
        //Multiline Continuation for single-line comment
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    61
        2 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    62
        //Pseudo-Highlighting of the @-sign before strings
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    63
        3 => "/@(?=\")/"
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    64
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    65
    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    66
    'QUOTEMARKS' => array('"', "'"),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    67
    'ESCAPE_CHAR' => '\\',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    68
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    69
    'KEYWORDS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    70
        // Objective-C keywords
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    71
        1 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    72
            'while', 'switch', 'return', 'in', 'if', 'goto', 'foreach', 'for',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    73
            'else', 'do', 'default', 'continue', 'case', '@try', '@throw',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    74
            '@synthesize', '@synchronized', '@selector', '@public', '@protocol',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    75
            '@protected', '@property', '@private', '@interface',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    76
            '@implementation', '@finally', '@end', '@encode', '@defs', '@class',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    77
            '@catch'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    78
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    79
        // Macros and constants
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    80
        2 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    81
            'YES', 'USHRT_MAX', 'ULONG_MAX', 'UINT_MAX', 'UCHAR_MAX', 'true',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    82
            'TMP_MAX', 'stdout', 'stdin', 'stderr', 'SIGTERM', 'SIGSEGV',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    83
            'SIGINT', 'SIGILL', 'SIG_IGN', 'SIGFPE', 'SIG_ERR', 'SIG_DFL',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    84
            'SIGABRT', 'SHRT_MIN', 'SHRT_MAX', 'SEEK_SET', 'SEEK_END',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    85
            'SEEK_CUR', 'SCHAR_MIN', 'SCHAR_MAX', 'RAND_MAX', 'NULL',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    86
            'NO', 'nil', 'Nil', 'L_tmpnam', 'LONG_MIN', 'LONG_MAX',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    87
            'LDBL_MIN_EXP', 'LDBL_MIN', 'LDBL_MAX_EXP', 'LDBL_MAX',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    88
            'LDBL_MANT_DIG', 'LDBL_EPSILON', 'LDBL_DIG', 'INT_MIN', 'INT_MAX',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    89
            'HUGE_VAL', 'FOPEN_MAX', 'FLT_ROUNDS', 'FLT_RADIX', 'FLT_MIN_EXP',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    90
            'FLT_MIN', 'FLT_MAX_EXP', 'FLT_MAX', 'FLT_MANT_DIG', 'FLT_EPSILON',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    91
            'FLT_DIG', 'FILENAME_MAX', 'false', 'EXIT_SUCCESS', 'EXIT_FAILURE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    92
            'errno', 'ERANGE', 'EOF', 'enum', 'EDOM', 'DBL_MIN_EXP', 'DBL_MIN',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    93
            'DBL_MAX_EXP', 'DBL_MAX', 'DBL_MANT_DIG', 'DBL_EPSILON', 'DBL_DIG',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    94
            'CLOCKS_PER_SEC', 'CHAR_MIN', 'CHAR_MAX', 'CHAR_BIT', 'BUFSIZ',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    95
            'break'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    96
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    97
        // C standard library functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    98
        3 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    99
            'vsprintf', 'vprintf', 'vfprintf', 'va_start', 'va_end', 'va_arg',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   100
            'ungetc', 'toupper', 'tolower', 'tmpname', 'tmpfile', 'time',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   101
            'tanh', 'tan', 'system', 'strxfrm', 'strtoul', 'strtol', 'strtok',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   102
            'strtod', 'strstr', 'strspn', 'strrchr', 'strpbrk', 'strncpy',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   103
            'strncmp', 'strncat', 'strlen', 'strftime', 'strerror', 'strcspn',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   104
            'strcpy', 'strcoll', 'strcmp', 'strchr', 'strcat', 'sscanf',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   105
            'srand', 'sqrt', 'sprintf', 'snprintf', 'sizeof', 'sinh', 'sin',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   106
            'setvbuf', 'setjmp', 'setbuf', 'scanf', 'rewind', 'rename',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   107
            'remove', 'realloc', 'rand', 'qsort', 'puts', 'putchar', 'putc',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   108
            'printf', 'pow', 'perror', 'offsetof', 'modf', 'mktime', 'memset',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   109
            'memmove', 'memcpy', 'memcmp', 'memchr', 'malloc', 'longjmp',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   110
            'log10', 'log', 'localtime', 'ldiv', 'ldexp', 'labs', 'isxdigit',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   111
            'isupper', 'isspace', 'ispunct', 'isprint', 'islower',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   112
            'isgraph', 'isdigit', 'iscntrl', 'isalpha', 'isalnum', 'gmtime',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   113
            'gets', 'getenv', 'getchar', 'getc', 'fwrite', 'ftell', 'fsetpos',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   114
            'fseek', 'fscanf', 'frexp', 'freopen', 'free', 'fread', 'fputs',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   115
            'fputc', 'fprintf', 'fopen', 'fmod', 'floor', 'fgets', 'fgetpos',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   116
            'fgetc', 'fflush', 'ferror', 'feof', 'fclose', 'fabs', 'exp',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   117
            'exit', 'div', 'difftime', 'ctime', 'cosh', 'cos', 'clock',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   118
            'clearerr', 'ceil', 'calloc', 'bsearch', 'atol', 'atoi', 'atof',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   119
            'atexit', 'atan2', 'atan', 'assert', 'asin', 'asctime', 'acos',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   120
            'abs', 'abort'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   121
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   122
        // Data types (C, Objective-C, Cocoa)
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   123
        4 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   124
            'volatile', 'void', 'va_list', 'unsigned', 'union', 'typedef', 'tm',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   125
            'time_t', 'struct', 'string', 'static', 'size_t',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   126
            'signed', 'signal', 'short', 'SEL', 'register', 'raise',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   127
            'ptrdiff_t', 'NSZone', 'NSRect', 'NSRange', 'NSPoint', 'long',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   128
            'ldiv_t', 'jmp_buf', 'int', 'IMP', 'id', 'fpos_t', 'float', 'FILE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   129
            'extern', 'double', 'div_t', 'const', 'clock_t', 'Class', 'char',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   130
            'BOOL', 'auto'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   131
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   132
        // Foundation classes
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   133
        5 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   134
            'NSXMLParser', 'NSXMLNode', 'NSXMLElement', 'NSXMLDTDNode',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   135
            'NSXMLDTD', 'NSXMLDocument', 'NSWhoseSpecifier',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   136
            'NSValueTransformer', 'NSValue', 'NSUserDefaults', 'NSURLResponse',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   137
            'NSURLRequest', 'NSURLProtocol', 'NSURLProtectionSpace',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   138
            'NSURLHandle', 'NSURLDownload', 'NSURLCredentialStorage',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   139
            'NSURLCredential', 'NSURLConnection', 'NSURLCache',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   140
            'NSURLAuthenticationChallenge', 'NSURL', 'NSUniqueIDSpecifier',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   141
            'NSUndoManager', 'NSUnarchiver', 'NSTimeZone', 'NSTimer',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   142
            'NSThread', 'NSTask', 'NSString', 'NSStream', 'NSSpellServer',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   143
            'NSSpecifierTest', 'NSSortDescriptor', 'NSSocketPortNameServer',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   144
            'NSSocketPort', 'NSSetCommand', 'NSSet', 'NSSerializer',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   145
            'NSScriptWhoseTest', 'NSScriptSuiteRegistry',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   146
            'NSScriptObjectSpecifier', 'NSScriptExecutionContext',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   147
            'NSScriptCommandDescription', 'NSScriptCommand',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   148
            'NSScriptCoercionHandler', 'NSScriptClassDescription', 'NSScanner',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   149
            'NSRunLoop', 'NSRelativeSpecifier', 'NSRecursiveLock',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   150
            'NSRangeSpecifier', 'NSRandomSpecifier', 'NSQuitCommand', 'NSProxy',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   151
            'NSProtocolChecker', 'NSPropertySpecifier',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   152
            'NSPropertyListSerialization', 'NSProcessInfo', 'NSPredicate',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   153
            'NSPositionalSpecifier', 'NSPortNameServer', 'NSPortMessage',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   154
            'NSPortCoder', 'NSPort', 'NSPointerFunctions', 'NSPointerArray',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   155
            'NSPipe', 'NSOutputStream', 'NSOperationQueue', 'NSOperation',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   156
            'NSObject', 'NSNumberFormatter', 'NSNumber', 'NSNull',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   157
            'NSNotificationQueue', 'NSNotificationCenter', 'NSNotification',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   158
            'NSNetServiceBrowser', 'NSNetService', 'NSNameSpecifier',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   159
            'NSMutableURLRequest', 'NSMutableString', 'NSMutableSet',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   160
            'NSMutableIndexSet', 'NSMutableDictionary', 'NSMutableData',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   161
            'NSMutableCharacterSet', 'NSMutableAttributedString',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   162
            'NSMutableArray', 'NSMoveCommand', 'NSMiddleSpecifier',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   163
            'NSMethodSignature', 'NSMetadataQueryResultGroup',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   164
            'NSMetadataQueryAttributeValueTuple', 'NSMetadataQuery',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   165
            'NSMetadataItem', 'NSMessagePortNameServer', 'NSMessagePort',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   166
            'NSMapTable', 'NSMachPort', 'NSMachBootstrapServer',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   167
            'NSLogicalTest', 'NSLock', 'NSLocale', 'NSKeyedUnarchiver',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   168
            'NSKeyedArchiver', 'NSInvocationOperation', 'NSInvocation',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   169
            'NSInputStream', 'NSIndexSpecifier', 'NSIndexSet', 'NSIndexPath',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   170
            'NSHTTPURLResponse', 'NSHTTPCookieStorage', 'NSHTTPCookie',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   171
            'NSHost', 'NSHashTable', 'NSGetCommand', 'NSGarbageCollector',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   172
            'NSFormatter', 'NSFileManager', 'NSFileHandle', 'NSExpression',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   173
            'NSExistsCommand', 'NSException', 'NSError', 'NSEnumerator',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   174
            'NSDistributedNotificationCenter', 'NSDistributedLock',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   175
            'NSDistantObjectRequest', 'NSDistantObject',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   176
            'NSDirectoryEnumerator', 'NSDictionary', 'NSDeserializer',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   177
            'NSDeleteCommand', 'NSDecimalNumberHandler', 'NSDecimalNumber',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   178
            'NSDateFormatter', 'NSDateComponents', 'NSDate', 'NSData',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   179
            'NSCreateCommand', 'NSCountedSet', 'NSCountCommand', 'NSConnection',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   180
            'NSConditionLock', 'NSCondition', 'NSCompoundPredicate',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   181
            'NSComparisonPredicate', 'NSCoder', 'NSCloseCommand',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   182
            'NSCloneCommand', 'NSClassDescription', 'NSCharacterSet',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   183
            'NSCalendarDate', 'NSCalendar', 'NSCachedURLResponse', 'NSBundle',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   184
            'NSAutoreleasePool', 'NSAttributedString', 'NSAssertionHandler',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   185
            'NSArray', 'NSArchiver', 'NSAppleScript', 'NSAppleEventManager',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   186
            'NSAppleEventDescriptor', 'NSAffineTransform'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   187
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   188
        // Foundation protocols
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   189
        6 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   190
            'NSURLProtocolClient', 'NSURLHandleClient', 'NSURLClient',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   191
            'NSURLAuthenticationChallengeSender', 'NSScriptObjectSpecifiers',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   192
            'NSScriptKeyValueCoding', 'NSScriptingComparisonMethods',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   193
            'NSObjCTypeSerializationCallBack', 'NSMutableCopying',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   194
            'NSLocking', 'NSKeyValueObserving', 'NSKeyValueCoding',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   195
            'NSFastEnumeration', 'NSErrorRecoveryAttempting',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   196
            'NSDecimalNumberBehaviors', 'NSCopying', 'NSComparisonMethods',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   197
            'NSCoding'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   198
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   199
        // AppKit classes
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   200
        7 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   201
            'NSWorkspace', 'NSWindowController', 'NSWindow', 'NSViewController',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   202
            'NSViewAnimation', 'NSView', 'NSUserDefaultsController',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   203
            'NSTypesetter', 'NSTreeNode', 'NSTreeController', 'NSTrackingArea',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   204
            'NSToolbarItemGroup', 'NSToolbarItem', 'NSToolbar',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   205
            'NSTokenFieldCell', 'NSTokenField', 'NSTextView',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   206
            'NSTextTableBlock', 'NSTextTable', 'NSTextTab', 'NSTextStorage',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   207
            'NSTextList', 'NSTextFieldCell', 'NSTextField', 'NSTextContainer',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   208
            'NSTextBlock', 'NSTextAttachmentCell', 'NSTextAttachment', 'NSText',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   209
            'NSTabViewItem', 'NSTabView', 'NSTableView', 'NSTableHeaderView',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   210
            'NSTableHeaderCell', 'NSTableColumn', 'NSStepperCell', 'NSStepper',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   211
            'NSStatusItem', 'NSStatusBar', 'NSSplitView', 'NSSpellChecker',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   212
            'NSSpeechSynthesizer', 'NSSpeechRecognizer', 'NSSound',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   213
            'NSSliderCell', 'NSSlider', 'NSSimpleHorizontalTypesetter',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   214
            'NSShadow', 'NSSegmentedControl', 'NSSegmentedCell',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   215
            'NSSecureTextFieldCell', 'NSSecureTextField', 'NSSearchFieldCell',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   216
            'NSSearchField', 'NSScrollView', 'NSScroller', 'NSScreen',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   217
            'NSSavePanel', 'NSRulerView', 'NSRulerMarker', 'NSRuleEditor',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   218
            'NSResponder', 'NSQuickDrawView', 'NSProgressIndicator',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   219
            'NSPrintPanel', 'NSPrintOperation', 'NSPrintInfo', 'NSPrinter',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   220
            'NSPredicateEditorRowTemplate', 'NSPredicateEditor',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   221
            'NSPopUpButtonCell', 'NSPopUpButton', 'NSPICTImageRep',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   222
            'NSPersistentDocument', 'NSPDFImageRep', 'NSPathControl',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   223
            'NSPathComponentCell', 'NSPathCell', 'NSPasteboard',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   224
            'NSParagraphStyle', 'NSPanel', 'NSPageLayout', 'NSOutlineView',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   225
            'NSOpenPanel', 'NSOpenGLView', 'NSOpenGLPixelFormat',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   226
            'NSOpenGLPixelBuffer', 'NSOpenGLContext', 'NSObjectController',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   227
            'NSNibOutletConnector', 'NSNibControlConnector', 'NSNibConnector',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   228
            'NSNib', 'NSMutableParagraphStyle', 'NSMovieView', 'NSMovie',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   229
            'NSMenuView', 'NSMenuItemCell', 'NSMenuItem', 'NSMenu', 'NSMatrix',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   230
            'NSLevelIndicatorCell', 'NSLevelIndicator', 'NSLayoutManager',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   231
            'NSInputServer', 'NSInputManager', 'NSImageView', 'NSImageRep',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   232
            'NSImageCell', 'NSImage', 'NSHelpManager', 'NSGraphicsContext',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   233
            'NSGradient', 'NSGlyphInfo', 'NSGlyphGenerator', 'NSFormCell',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   234
            'NSForm', 'NSFontPanel', 'NSFontManager', 'NSFontDescriptor',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   235
            'NSFont', 'NSFileWrapper', 'NSEvent', 'NSEPSImageRep', 'NSDrawer',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   236
            'NSDocumentController', 'NSDocument', 'NSDockTile',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   237
            'NSDictionaryController', 'NSDatePickerCell', 'NSDatePicker',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   238
            'NSCustomImageRep', 'NSCursor', 'NSController', 'NSControl',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   239
            'NSComboBoxCell', 'NSComboBox', 'NSColorWell', 'NSColorSpace',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   240
            'NSColorPicker', 'NSColorPanel', 'NSColorList', 'NSColor',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   241
            'NSCollectionViewItem', 'NSCollectionView', 'NSClipView',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   242
            'NSCIImageRep', 'NSCell', 'NSCachedImageRep', 'NSButtonCell',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   243
            'NSButton', 'NSBrowserCell', 'NSBrowser', 'NSBox',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   244
            'NSBitmapImageRep', 'NSBezierPath', 'NSATSTypesetter',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   245
            'NSArrayController', 'NSApplication', 'NSAnimationContext',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   246
            'NSAnimation', 'NSAlert', 'NSActionCell'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   247
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   248
        // AppKit protocols
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   249
        8 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   250
            'NSWindowScripting', 'NSValidatedUserInterfaceItem',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   251
            'NSUserInterfaceValidations', 'NSToolTipOwner',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   252
            'NSToolbarItemValidation', 'NSTextInput',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   253
            'NSTableDataSource', 'NSServicesRequests',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   254
            'NSPrintPanelAccessorizing', 'NSPlaceholders',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   255
            'NSPathControlDelegate', 'NSPathCellDelegate',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   256
            'NSOutlineViewDataSource', 'NSNibAwaking', 'NSMenuValidation',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   257
            'NSKeyValueBindingCreation', 'NSInputServiceProvider',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   258
            'NSInputServerMouseTracker', 'NSIgnoreMisspelledWords',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   259
            'NSGlyphStorage', 'NSFontPanelValidation', 'NSEditorRegistration',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   260
            'NSEditor', 'NSDraggingSource', 'NSDraggingInfo',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   261
            'NSDraggingDestination', 'NSDictionaryControllerKeyValuePair',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   262
            'NSComboBoxDataSource', 'NSComboBoxCellDataSource',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   263
            'NSColorPickingDefault', 'NSColorPickingCustom', 'NSChangeSpelling',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   264
            'NSAnimatablePropertyContainer', 'NSAccessibility'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   265
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   266
        // CoreData classes
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   267
        9 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   268
            'NSRelationshipDescription', 'NSPropertyMapping',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   269
            'NSPropertyDescription', 'NSPersistentStoreCoordinator',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   270
            'NSPersistentStore', 'NSMigrationManager', 'NSMappingModel',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   271
            'NSManagedObjectModel', 'NSManagedObjectID',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   272
            'NSManagedObjectContext', 'NSManagedObject',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   273
            'NSFetchRequestExpression', 'NSFetchRequest',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   274
            'NSFetchedPropertyDescription', 'NSEntityMigrationPolicy',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   275
            'NSEntityMapping', 'NSEntityDescription', 'NSAttributeDescription',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   276
            'NSAtomicStoreCacheNode', 'NSAtomicStore'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   277
            )
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   278
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   279
    'SYMBOLS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   280
        '(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   281
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   282
    'CASE_SENSITIVE' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   283
        GESHI_COMMENTS => true,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   284
        1 => true,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   285
        2 => true,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   286
        3 => true,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   287
        4 => true,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   288
        5 => true,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   289
        6 => true,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   290
        7 => true,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   291
        8 => true,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   292
        9 => true
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   293
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   294
    // Define the colors for the groups listed above
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   295
    'STYLES' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   296
        'KEYWORDS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   297
            1 => 'color: #a61390;', // Objective-C keywords
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   298
            2 => 'color: #a61390;', // Macros and constants
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   299
            3 => 'color: #a61390;', // C standard library functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   300
            4 => 'color: #a61390;', // data types
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   301
            5 => 'color: #400080;', // Foundation classes
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   302
            6 => 'color: #2a6f76;', // Foundation protocols
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   303
            7 => 'color: #400080;', // AppKit classes
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   304
            8 => 'color: #2a6f76;', // AppKit protocols
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   305
            9 => 'color: #400080;' // CoreData classes
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   306
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   307
        'COMMENTS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   308
            1 => 'color: #6e371a;', // Preprocessor directives
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   309
            2 => 'color: #11740a; font-style: italic;', // Normal C single-line comments
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   310
            3 => 'color: #bf1d1a;', // Q-sign in front of Strings
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   311
            'MULTI' => 'color: #11740a; font-style: italic;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   312
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   313
        'ESCAPE_CHAR' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   314
            0 => 'color: #2400d9;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   315
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   316
        'BRACKETS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   317
            0 => 'color: #002200;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   318
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   319
        'STRINGS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   320
            0 => 'color: #bf1d1a;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   321
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   322
        'NUMBERS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   323
            0 => 'color: #2400d9;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   324
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   325
        'METHODS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   326
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   327
        'SYMBOLS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   328
            0 => 'color: #002200;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   329
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   330
        'REGEXPS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   331
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   332
        'SCRIPT' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   333
            )
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   334
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   335
    'URLS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   336
        1 => '',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   337
        2 => '',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   338
        3 => 'http://www.opengroup.org/onlinepubs/009695399/functions/{FNAME}.html',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   339
        4 => '',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   340
        5 => 'http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/{FNAME}_Class/',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   341
        6 => 'http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/{FNAME}_Protocol/',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   342
        7 => 'http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/{FNAME}_Class/',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   343
        8 => 'http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/{FNAME}_Protocol/',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   344
        9 => 'http://developer.apple.com/documentation/Cocoa/Reference/CoreDataFramework/Classes/{FNAME}_Class/'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   345
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   346
    'OOLANG' => false,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   347
    'OBJECT_SPLITTERS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   348
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   349
    'REGEXPS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   350
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   351
    'STRICT_MODE_APPLIES' => GESHI_NEVER,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   352
    'SCRIPT_DELIMITERS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   353
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   354
    'HIGHLIGHT_STRICT_BLOCK' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   355
        )
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   356
);
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   357
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   358
?>