Location: PHPKode > projects > Pieforms > pieforms-php5-0.2.2/doc/geshi/geshi/languages/codeworker/roughtext.php
<?php
/**
 * GeSHi - Generic Syntax Highlighter
 * <pre>
 *   File:   geshi/languages/codeworker/roughtext.php
 *   Author: Nigel McNie
 *   E-mail: hide@address.com
 * </pre>
 * 
 * For information on how to use GeSHi, please consult the documentation
 * found in the docs/ directory, or online at http://geshi.org/docs/.
 * 
 * This program is part of GeSHi.
 *
 *  This program 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.
 *
 *  This program 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 this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 *
 * @package    geshi
 * @subpackage lang
 * @author     Nigel McNie
 * @copyright  (C) 2006 Nigel McNie
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL
 * @version    $Id: roughtext.php 738 2006-06-02 09:43:47Z oracleshinoda $
 */

/**#@+
 * @access private
 */

function geshi_codeworker_roughtext (&$context)
{
    // same as codeworker/codeworker
    /*$context->addChildLanguage('codeworker/roughtext', array(
        'REGEX#generate\s*\(\s*\{#', 'REGEX#generateString\s*\(\s*\{#', 'REGEX#expand\s*\(\s*\{#'
    ), '}'
        false,
        array('{', '}')   // number 3 is balancing.
        // an array opener=>closer
        // what about cases where you have multiple entries for opener/closer??? (just specify as limitation)
    ),
    );*/

}

/**#@-*/

?>
Return current item: Pieforms