summaryrefslogtreecommitdiffstats
path: root/application/libraries/geshi/vala.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-06-13 21:27:14 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-08-16 16:31:28 +0200
commit71273d9477b88cca86e6724491c1ea337ee96f05 (patch)
treeb5b0d73085775d9aacae2871a0d57faa99ea72ca /application/libraries/geshi/vala.php
parent789ffb00e6d25af4409d26dce04d211e365f2d58 (diff)
switch to pygments
- faster than geshi - easier to modify the css because there is only one - geshi upstream seems pretty dead Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/geshi/vala.php')
-rw-r--r--application/libraries/geshi/vala.php151
1 files changed, 0 insertions, 151 deletions
diff --git a/application/libraries/geshi/vala.php b/application/libraries/geshi/vala.php
deleted file mode 100644
index a9d6b0745..000000000
--- a/application/libraries/geshi/vala.php
+++ /dev/null
@@ -1,151 +0,0 @@
-<?php
-/*************************************************************************************
- * vala.php
- * ----------
- * Author: Nicolas Joseph (nicolas.joseph@valaide.org)
- * Copyright: (c) 2009 Nicolas Joseph
- * Release Version: 1.0.8.10
- * Date Started: 2009/04/29
- *
- * Vala language file for GeSHi.
- *
- * CHANGES
- * -------
- *
- * TODO
- * ----
- *
- *************************************************************************************
- *
- * This file is part of GeSHi.
- *
- * GeSHi is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GeSHi is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GeSHi; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- ************************************************************************************/
-
-$language_data = array (
- 'LANG_NAME' => 'Vala',
- 'COMMENT_SINGLE' => array(1 => '//'),
- 'COMMENT_MULTI' => array('/*' => '*/'),
- 'COMMENT_REGEXP' => array(
- //Using and Namespace directives (basic support)
- //Please note that the alias syntax for using is not supported
- 3 => '/(?:(?<=using[\\n\\s])|(?<=namespace[\\n\\s]))[\\n\\s]*([a-zA-Z0-9_]+\\.)*[a-zA-Z0-9_]+[\n\s]*(?=[;=])/i'),
- 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
- 'QUOTEMARKS' => array("'", '"'),
- 'HARDQUOTE' => array('"""'),
- 'HARDESCAPE' => array('"'),
- 'ESCAPE_CHAR' => '\\',
- 'KEYWORDS' => array(
- 1 => array(
- 'as', 'abstract', 'base', 'break', 'case', 'catch', 'const',
- 'construct', 'continue', 'default', 'delete', 'dynamic', 'do',
- 'else', 'ensures', 'extern', 'false', 'finally', 'for', 'foreach',
- 'get', 'if', 'in', 'inline', 'internal', 'lock', 'namespace',
- 'null', 'out', 'override', 'private', 'protected', 'public', 'ref',
- 'requires', 'return', 'set', 'static', 'switch', 'this', 'throw',
- 'throws', 'true', 'try', 'using', 'value', 'var', 'virtual',
- 'volatile', 'void', 'yield', 'yields', 'while'
- ),
- 2 => array(
- '#elif', '#endif', '#else', '#if'
- ),
- 3 => array(
- 'is', 'new', 'owned', 'sizeof', 'typeof', 'unchecked', 'unowned', 'weak'
- ),
- 4 => array(
- 'bool', 'char', 'class', 'delegate', 'double', 'enum',
- 'errordomain', 'float', 'int', 'int8', 'int16', 'int32', 'int64',
- 'interface', 'long', 'short', 'signal', 'size_t', 'ssize_t',
- 'string', 'struct', 'uchar', 'uint', 'uint8', 'uint16', 'uint32',
- 'ulong', 'unichar', 'ushort'
- )
- ),
- 'SYMBOLS' => array(
- '+', '-', '*', '?', '=', '/', '%', '&', '>', '<', '^', '!', ':', ';',
- '(', ')', '{', '}', '[', ']', '|'
- ),
- 'CASE_SENSITIVE' => array(
- GESHI_COMMENTS => false,
- 1 => true,
- 2 => true,
- 3 => true,
- 4 => true,
- ),
- 'STYLES' => array(
- 'KEYWORDS' => array(
- 1 => 'color: #0600FF;',
- 2 => 'color: #FF8000; font-weight: bold;',
- 3 => 'color: #008000;',
- 4 => 'color: #FF0000;'
- ),
- 'COMMENTS' => array(
- 1 => 'color: #008080; font-style: italic;',
- 3 => 'color: #008080;',
- 'MULTI' => 'color: #008080; font-style: italic;'
- ),
- 'ESCAPE_CHAR' => array(
- 0 => 'color: #008080; font-weight: bold;',
- 'HARD' => 'color: #008080; font-weight: bold;'
- ),
- 'BRACKETS' => array(
- 0 => 'color: #000000;'
- ),
- 'STRINGS' => array(
- 0 => 'color: #666666;',
- 'HARD' => 'color: #666666;'
- ),
- 'NUMBERS' => array(
- 0 => 'color: #FF0000;'
- ),
- 'METHODS' => array(
- 1 => 'color: #0000FF;',
- 2 => 'color: #0000FF;'
- ),
- 'SYMBOLS' => array(
- 0 => 'color: #008000;'
- ),
- 'REGEXPS' => array(
- ),
- 'SCRIPT' => array(
- )
- ),
- 'URLS' => array(
- 1 => '',
- 2 => '',
- 3 => '',
- 4 => ''
- ),
- 'OOLANG' => true,
- 'OBJECT_SPLITTERS' => array(
- 1 => '.'
- ),
- 'REGEXPS' => array(
- ),
- 'STRICT_MODE_APPLIES' => GESHI_NEVER,
- 'SCRIPT_DELIMITERS' => array(
- ),
- 'HIGHLIGHT_STRICT_BLOCK' => array(
- ),
- 'TAB_WIDTH' => 4,
- 'PARSER_CONTROL' => array(
- 'KEYWORDS' => array(
- 'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#>|^])",
- 'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_<\|%\\-])"
- )
- )
-);
-
-?>