Location: PHPKode > projects > Pieforms > pieforms-php5-0.2.2/doc/geshi/geshi/themes/default/codeworker/codeworker.php
<?php
/**
 * GeSHi - Generic Syntax Highlighter
 * 
 * For information on how to use GeSHi, please consult the documentation
 * found in the docs/ directory, or online at http://geshi.org/docs/
 * 
 *  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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 * You can view a copy of the GNU GPL in the COPYING file that comes
 * with GeSHi, in the docs/ directory.
 *
 * @package    geshi
 * @subpackage theme
 * @author     Nigel McNie <hide@address.com>
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL
 * @copyright  (C) 2004 - 2006 Nigel McNie
 * @version    $Id: codeworker.php 738 2006-06-02 09:43:47Z oracleshinoda $
 *
 */

/*
 * Codeworker styles for default theme
 */
$this->setStyle('multi_comment', 'color:#888;font-style:italic;');
$this->setStyle('single_comment', 'color:#888;font-style:italic;');
$this->setStyle('single_string', 'color:#f00;');
$this->setStyle('single_string/esc', 'color:#006;font-weight:bold;');
$this->setStyle('double_string', 'color:#f00;');
$this->setStyle('double_string/esc', 'color:#006;font-weight:bold;');

$this->setStyle('roughtext', 'color:#f00;');
$this->setRawStyle('codeworker/cwt', 'color:#f00;');
$this->setStyle('cworkercwt', 'color:#000;'); // might not need because of aliasing

$this->setStyle('keyword', 'color:#000;font-weight:bold;');
$this->setStyle('function', 'color:#006;');
$this->setStyle('constant', 'color:#900;font-weight:bold;');
$this->setStyle('sfunction', 'color:#006;font-weight:bold;');

$this->setStyle('symbol', 'color:#008000;');
$this->setStyle('preprocessor', 'color:#933;');
$this->setStyle('oodynamic', 'color:#559;');

?>
Return current item: Pieforms