plugins/geshi/geshi/cfdg.php
changeset 0 441963e5b07a
child 2 9e3258dfae15
equal deleted inserted replaced
-1:000000000000 0:441963e5b07a
       
     1 <?php
       
     2 /*************************************************************************************
       
     3  * cfdg.php
       
     4  * --------
       
     5  * Author: John Horigan <john@glyphic.com>
       
     6  * Copyright: (c) 2006 John Horigan http://www.ozonehouse.com/john/
       
     7  * Release Version: 1.0.7.20
       
     8  * Date Started: 2006/03/11
       
     9  *
       
    10  * CFDG language file for GeSHi.
       
    11  *
       
    12  * CHANGES
       
    13  * -------
       
    14  * 2006/03/11 (1.0.0)
       
    15  *  -  First Release
       
    16  *
       
    17  * TODO (updated 2006/03/11)
       
    18  * -------------------------
       
    19  *
       
    20  *************************************************************************************
       
    21  *
       
    22  *     This file is part of GeSHi.
       
    23  *
       
    24  *   GeSHi is free software; you can redistribute it and/or modify
       
    25  *   it under the terms of the GNU General Public License as published by
       
    26  *   the Free Software Foundation; either version 2 of the License, or
       
    27  *   (at your option) any later version.
       
    28  *
       
    29  *   GeSHi is distributed in the hope that it will be useful,
       
    30  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    31  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    32  *   GNU General Public License for more details.
       
    33  *
       
    34  *   You should have received a copy of the GNU General Public License
       
    35  *   along with GeSHi; if not, write to the Free Software
       
    36  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
       
    37  *
       
    38  ************************************************************************************/
       
    39 
       
    40 $language_data = array (
       
    41 	'LANG_NAME' => 'CFDG',
       
    42 	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
       
    43 	'COMMENT_MULTI' => array('/*' => '*/'),
       
    44 	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
       
    45 	'QUOTEMARKS' => array("'", '"'),
       
    46 	'ESCAPE_CHAR' => '',
       
    47 	'KEYWORDS' => array(
       
    48 		1 => array(
       
    49 			'include', 'startshape', 'rule', 'background'
       
    50 			),
       
    51 		2 => array(
       
    52 			'SQUARE', 'CIRCLE', 'TRIANGLE',
       
    53 			),
       
    54 		3 => array(
       
    55 			'b','brightness','h','hue','sat','saturation',
       
    56 			'a','alpha','x','y','z','s','size',
       
    57 			'r','rotate','f','flip','skew','xml_set_object'
       
    58 			)
       
    59 		),
       
    60 	'SYMBOLS' => array(
       
    61 		'[', ']', '{', '}', '*', '|'
       
    62 		),
       
    63 	'CASE_SENSITIVE' => array(
       
    64 		GESHI_COMMENTS => false,
       
    65 		1 => false,
       
    66 		2 => false,
       
    67 		3 => false,
       
    68 		),
       
    69 	'STYLES' => array(
       
    70 		'KEYWORDS' => array(
       
    71 			1 => 'color: #717100;',
       
    72 			2 => 'color: #000000; font-weight: bold;',
       
    73 			3 => 'color: #006666;'
       
    74 			),
       
    75 		'COMMENTS' => array(
       
    76 			1 => 'color: #808080; font-style: italic;',
       
    77 			2 => 'color: #808080; font-style: italic;',
       
    78 			'MULTI' => 'color: #808080; font-style: italic;'
       
    79 			),
       
    80 		'ESCAPE_CHAR' => array(
       
    81 			0 => 'color: #000099; font-weight: bold;'
       
    82 			),
       
    83 		'BRACKETS' => array(
       
    84 			0 => 'color: #66cc66;'
       
    85 			),
       
    86 		'STRINGS' => array(
       
    87 			0 => 'color: #ff0000;'
       
    88 			),
       
    89 		'NUMBERS' => array(
       
    90 			0 => 'color: #cc66cc;'
       
    91 			),
       
    92 		'METHODS' => array(
       
    93 			1 => 'color: #006600;',
       
    94 			2 => 'color: #006600;'
       
    95 			),
       
    96 		'SYMBOLS' => array(
       
    97 			0 => 'color: #66cc66;'
       
    98 			),
       
    99 		'REGEXPS' => array(
       
   100 			),
       
   101 		'SCRIPT' => array(
       
   102 			0 => '',
       
   103 			1 => '',
       
   104 			2 => '',
       
   105 			3 => ''
       
   106 			)
       
   107 		),
       
   108 	'URLS' => array(
       
   109 		1 => '',
       
   110 		2 => '',
       
   111 		3 => '',
       
   112 		4 => ''
       
   113 		),
       
   114 	'OOLANG' => false,
       
   115 	'OBJECT_SPLITTERS' => '',
       
   116 	'REGEXPS' => array(
       
   117 		),
       
   118 	'STRICT_MODE_APPLIES' => GESHI_NEVER,
       
   119 	'SCRIPT_DELIMITERS' => array(
       
   120 		),
       
   121 	'HIGHLIGHT_STRICT_BLOCK' => array(
       
   122 		)
       
   123 );
       
   124 
       
   125 ?>