jablonka.czprosek.czf

websvn

Subversion Repositories:
[/] [lib/] [geshi/] [java.php] - Diff between revs 1 and 3

Show entire file Ignore whitespace

Rev 1 Rev 3
Line 2... Line 2...
/************************************************************************************* /*************************************************************************************
* java.php * java.php
* -------- * --------
* Author: Nigel McNie (nigel@geshi.org) * Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.1 * Release Version: 1.0.8.3
* Date Started: 2004/07/10 * Date Started: 2004/07/10
* *
* Java language file for GeSHi. * Java language file for GeSHi.
* *
* CHANGES * CHANGES
Line 57... Line 57...
'COMMENT_MULTI' => array('/*' => '*/'), 'COMMENT_MULTI' => array('/*' => '*/'),
'COMMENT_REGEXP' => array( 'COMMENT_REGEXP' => array(
//Import and Package directives (Basic Support only) //Import and Package directives (Basic Support only)
2 => '/(?:(?<=import[\\n\\s])|(?<=package[\\n\\s]))[\\n\\s]*([a-zA-Z0-9_]+\\.)*([a-zA-Z0-9_]+|\*)(?=[\n\s;])/i', 2 => '/(?:(?<=import[\\n\\s])|(?<=package[\\n\\s]))[\\n\\s]*([a-zA-Z0-9_]+\\.)*([a-zA-Z0-9_]+|\*)(?=[\n\s;])/i',
// javadoc comments // javadoc comments
3 => '#/\*\*(?!\*).*\*/#sU' 3 => '#/\*\*(?![\*\/]).*\*/#sU'
), ),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array("'", '"'), 'QUOTEMARKS' => array("'", '"'),
'ESCAPE_CHAR' => '\\', 'ESCAPE_CHAR' => '\\',
'KEYWORDS' => array( 'KEYWORDS' => array(
Line 932... Line 932...
), ),
'COMMENTS' => array( 'COMMENTS' => array(
1 => 'color: #666666; font-style: italic;', 1 => 'color: #666666; font-style: italic;',
2 => 'color: #006699;', 2 => 'color: #006699;',
3 => 'color: #008000; font-style: italic; font-weight: bold;', 3 => 'color: #008000; font-style: italic; font-weight: bold;',
3 => 'color: #008000; font-style: italic; font-weight: bold;', 3 => 'color: #008000; font-style: italic; font-weight: bold;',
'MULTI' => 'color: #666666; font-style: italic;' 'MULTI' => 'color: #666666; font-style: italic;'
), ),
'ESCAPE_CHAR' => array( 'ESCAPE_CHAR' => array(
0 => 'color: #000099; font-weight: bold;' 0 => 'color: #000099; font-weight: bold;'
), ),

Powered by WebSVN 2.2.1