⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 javascript.php

📁 F2blog v1.1 beta 12.27更新说明 1、后台编辑器增加了文本粘贴与从WORD粘贴
💻 PHP
📖 第 1 页 / 共 2 页
字号:
<?php/** * Auto-generated class. JAVASCRIPT syntax highlighting  * * PHP version 4 and 5 * * LICENSE: This source file is subject to version 3.0 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.php.net/license/3_0.txt.  If you did not receive a copy of * the PHP License and are unable to obtain it through the web, please * send a note to license@php.net so we can mail you a copy immediately. * * @copyright  2004 Andrey Demenev * @license    http://www.php.net/license/3_0.txt  PHP License * @link       http://pear.php.net/package/Text_Highlighter * @category   Text * @package    Text_Highlighter * @version    generated from: : javascript.xml 26 2005-04-21 16:31:33Z andrey  * @author Andrey Demenev <demenev@gmail.com> * *//** * @ignore */require_once 'Text/Highlighter.php';/** * Auto-generated class. JAVASCRIPT syntax highlighting * * @author Andrey Demenev <demenev@gmail.com> * @category   Text * @package    Text_Highlighter * @copyright  2004 Andrey Demenev * @license    http://www.php.net/license/3_0.txt  PHP License * @version    Release: @package_version@ * @link       http://pear.php.net/package/Text_Highlighter */class  Text_Highlighter_JAVASCRIPT extends Text_Highlighter{    var $_language = 'javascript';    /**     * PHP4 Compatible Constructor     *     * @param array  $options     * @access public     */    function Text_Highlighter_JAVASCRIPT($options=array())    {        $this->__construct($options);    }    /**     *  Constructor     *     * @param array  $options     * @access public     */    function __construct($options=array())    {        $this->_options = $options;        $this->_regs = array (            -1 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)\')|((?i)\\/\\/)|(\\/)|((?i)[a-z_]\\w*)|((?i)\\d*\\.?\\d+)/',            0 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)\')|((?i)\\/\\/)|(\\/)|((?i)[a-z_]\\w*)|((?i)\\d*\\.?\\d+)/',            1 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)\')|((?i)\\/\\/)|(\\/)|((?i)[a-z_]\\w*)|((?i)\\d*\\.?\\d+)/',            2 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)\')|((?i)\\/\\/)|(\\/)|((?i)[a-z_]\\w*)|((?i)\\d*\\.?\\d+)/',            3 => '/((?i)((https?|ftp):\\/\\/[\\w\\?\\.\\-\\&=\\/%+]+)|(^|[\\s,!?])www\\.\\w+\\.\\w+[\\w\\?\\.\\&=\\/%+]*)|((?i)\\w+[\\.\\w\\-]+@(\\w+[\\.\\w\\-])+)|((?i)\\b(note|fixme):)|((?i)\\$\\w+:.+\\$)/',            4 => '/((?i)\\\\\\\\|\\\\"|\\\\\'|\\\\`|\\\\t|\\\\n|\\\\r)/',            5 => '/((?i)\\\\\\\\|\\\\"|\\\\\'|\\\\`)/',            6 => '/((?i)((https?|ftp):\\/\\/[\\w\\?\\.\\-\\&=\\/%+]+)|(^|[\\s,!?])www\\.\\w+\\.\\w+[\\w\\?\\.\\&=\\/%+]*)|((?i)\\w+[\\.\\w\\-]+@(\\w+[\\.\\w\\-])+)|((?i)\\b(note|fixme):)|((?i)\\$\\w+:.+\\$)/',            7 => '/((?i)\\\\\\/)/',        );        $this->_counts = array (            -1 =>             array (                0 => 0,                1 => 0,                2 => 0,                3 => 0,                4 => 0,                5 => 0,                6 => 0,                7 => 0,                8 => 0,                9 => 0,            ),            0 =>             array (                0 => 0,                1 => 0,                2 => 0,                3 => 0,                4 => 0,                5 => 0,                6 => 0,                7 => 0,                8 => 0,                9 => 0,            ),            1 =>             array (                0 => 0,                1 => 0,                2 => 0,                3 => 0,                4 => 0,                5 => 0,                6 => 0,                7 => 0,                8 => 0,                9 => 0,            ),            2 =>             array (                0 => 0,                1 => 0,                2 => 0,                3 => 0,                4 => 0,                5 => 0,                6 => 0,                7 => 0,                8 => 0,                9 => 0,            ),            3 =>             array (                0 => 3,                1 => 1,                2 => 1,                3 => 0,            ),            4 =>             array (                0 => 0,            ),            5 =>             array (                0 => 0,            ),            6 =>             array (                0 => 3,                1 => 1,                2 => 1,                3 => 0,            ),            7 =>             array (                0 => 0,            ),        );        $this->_delim = array (            -1 =>             array (                0 => 'brackets',                1 => 'brackets',                2 => 'brackets',                3 => 'comment',                4 => 'quotes',                5 => 'quotes',                6 => 'comment',                7 => 'quotes',                8 => '',                9 => '',            ),            0 =>             array (                0 => 'brackets',                1 => 'brackets',                2 => 'brackets',                3 => 'comment',                4 => 'quotes',                5 => 'quotes',                6 => 'comment',                7 => 'quotes',                8 => '',                9 => '',            ),            1 =>             array (                0 => 'brackets',                1 => 'brackets',                2 => 'brackets',                3 => 'comment',                4 => 'quotes',                5 => 'quotes',                6 => 'comment',                7 => 'quotes',                8 => '',                9 => '',            ),            2 =>             array (                0 => 'brackets',                1 => 'brackets',                2 => 'brackets',                3 => 'comment',                4 => 'quotes',                5 => 'quotes',                6 => 'comment',                7 => 'quotes',                8 => '',                9 => '',            ),            3 =>             array (                0 => '',                1 => '',                2 => '',                3 => '',            ),            4 =>             array (                0 => '',            ),            5 =>             array (                0 => '',            ),            6 =>             array (                0 => '',                1 => '',                2 => '',                3 => '',            ),            7 =>             array (                0 => '',            ),        );        $this->_inner = array (            -1 =>             array (                0 => 'code',                1 => 'code',                2 => 'code',                3 => 'comment',                4 => 'string',                5 => 'string',                6 => 'comment',                7 => 'string',                8 => 'identifier',                9 => 'number',            ),            0 =>             array (                0 => 'code',                1 => 'code',                2 => 'code',                3 => 'comment',                4 => 'string',                5 => 'string',                6 => 'comment',                7 => 'string',                8 => 'identifier',                9 => 'number',            ),            1 =>             array (                0 => 'code',                1 => 'code',                2 => 'code',                3 => 'comment',                4 => 'string',                5 => 'string',                6 => 'comment',                7 => 'string',                8 => 'identifier',                9 => 'number',            ),            2 =>             array (                0 => 'code',                1 => 'code',                2 => 'code',                3 => 'comment',                4 => 'string',                5 => 'string',                6 => 'comment',                7 => 'string',                8 => 'identifier',                9 => 'number',            ),            3 =>             array (                0 => 'url',                1 => 'url',                2 => 'inlinedoc',                3 => 'inlinedoc',            ),            4 =>             array (                0 => 'special',            ),            5 =>             array (                0 => 'special',            ),            6 =>             array (                0 => 'url',                1 => 'url',                2 => 'inlinedoc',                3 => 'inlinedoc',            ),            7 =>             array (                0 => 'special',            ),        );        $this->_end = array (            0 => '/(?i)\\}/',            1 => '/(?i)\\)/',            2 => '/(?i)\\]/',            3 => '/(?i)\\*\\//',            4 => '/(?i)"/',            5 => '/(?i)\'/',            6 => '/(?mi)$/',            7 => '/\\/g?i?/',        );        $this->_states = array (            -1 =>             array (                0 => 0,                1 => 1,                2 => 2,                3 => 3,                4 => 4,                5 => 5,                6 => 6,                7 => 7,                8 => -1,                9 => -1,            ),            0 =>             array (                0 => 0,                1 => 1,                2 => 2,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -