Advertisement
Guest User

DM Language File For GeSHi

a guest
Jan 24th, 2012
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.49 KB | None | 0 0
  1. <?php
  2. /*************************************************************************************
  3.  * DM.php
  4.  * --------
  5.  * Author: Your Name
  6.  * Copyright: (c) 2012 Your Name (http://yourwebsite.com/)
  7.  * Release Version: 1.0.8.10
  8.  * Date Started: 2012/01/23
  9.  *
  10.  * DM language file for GeSHi.
  11.  *
  12.  * CHANGES
  13.  * -------
  14.  * 2012/01/23 (1.0.8.10)
  15.  *  -  First Release
  16.  *
  17.  * TODO (updated 2012/01/23)
  18.  * -------------------------
  19.  * * Complete language file
  20.  *
  21.  *************************************************************************************
  22.  *
  23.  *     This file is part of GeSHi.
  24.  *
  25.  *   GeSHi is free software; you can redistribute it and/or modify
  26.  *   it under the terms of the GNU General Public License as published by
  27.  *   the Free Software Foundation; either version 2 of the License, or
  28.  *   (at your option) any later version.
  29.  *
  30.  *   GeSHi is distributed in the hope that it will be useful,
  31.  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  32.  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  33.  *   GNU General Public License for more details.
  34.  *
  35.  *   You should have received a copy of the GNU General Public License
  36.  *   along with GeSHi; if not, write to the Free Software
  37.  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  38.  *
  39.  ************************************************************************************/
  40. $language_data = array(
  41.     'LANG_NAME' => 'DM',
  42.     'COMMENT_SINGLE' => array(
  43.         1 => '//',
  44.         2 => '#'
  45.         ),
  46.     'COMMENT_MULTI' => array('/*' => '*/'),
  47.     'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  48.     'QUOTEMARKS' => array(
  49.         1 => "'",
  50.         2 => '"',
  51.         ),
  52.     'ESCAPE_CHAR' => '',
  53.     'HARDQUOTE' => array(),
  54.     'HARDESCAPE' => array(),
  55.     'HARDCHAR' => '',
  56.     'NUMBERS' =>
  57.         GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX |
  58.         GESHI_NUMBER_FLT_SCI_ZERO,
  59.     'KEYWORDS' => array(
  60.         1 => array(
  61.             'arg', 'as', 'break', 'const', 'continue', 'del', 'do', 'else',
  62.             'for', 'global', 'goto', 'if', 'in', 'new', 'proc', 'return', 'set',
  63.             'static', 'switch', 'tmp', 'to', 'var', 'verb', 'while'
  64.             )
  65.         ),
  66.     'CASE_SENSITIVE' => array(
  67.         1 => true
  68.         ),
  69.     'SYMBOLS' => array(
  70.         0 => array(
  71.             '!', '%', '&', '(', ')', '*', '+', '-', '.', '/', ':', '<', '>',
  72.             '?', '[', ']', '^', '|', '{', '}', '~'
  73.             )
  74.         ),
  75.     'STYLES' => array(
  76.         'KEYWORDS' => array(
  77.             1 => 'color: #00F'
  78.             ),
  79.         'COMMENTS' => array(
  80.             1 => 'font-style: italic; color: ##646464;',
  81.             2 => 'color: #008000;',
  82.             'MULTI' => 'font-style: italic; color: ##646464;'
  83.             ),
  84.         'ESCAPE_CHAR' => '',
  85.         'BRACKETS' => array(),
  86.         'STRINGS' => array(
  87.             1 => 'color: #0096B4;',
  88.             2 => 'color: #0096B4;'
  89.             ),
  90.         'NUMBERS' => array(
  91.             1 => 'color: #E10000'
  92.             ),
  93.         'METHODS' => array(),
  94.         'SYMBOLS' => array(
  95.             0 => 'color: #000000; font-weight: bold;'
  96.             ),
  97.         'REGEXPS' => array(),
  98.         'SCRIPT' => array()
  99.         ),
  100.     'URLS' => array(
  101.         1 => ''
  102.         ),
  103.     'OOLANG' => false,
  104.     'OBJECT_SPLITTERS' => array(),
  105.     'REGEXPS' => array(),
  106.     'STRICT_MODE_APPLIES' => GESHI_MAYBE,
  107.     'SCRIPT_DELIMITERS' => array(),
  108.     'HIGHLIGHT_STRICT_BLOCK' => array(),
  109.     'TAB_WIDTH' => 4
  110. );
  111. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement