Lines Matching refs:GeSHi

3  * GeSHi - Generic Syntax Highlighter
5 * The GeSHi class for Generic Syntax Highlighting. Please refer to the
12 * This file is part of GeSHi.
14 * GeSHi is free software; you can redistribute it and/or modify
19 * GeSHi is distributed in the hope that it will be useful,
25 * along with GeSHi; if not, write to the Free Software
36 // GeSHi Constants
42 /** The version of this GeSHi file */
45 // Define the root directory for the GeSHi code tree
47 /** The root directory for GeSHi */
50 /** The language file directory for GeSHi
54 // Define if GeSHi should be paranoid about security
56 /** Tells GeSHi to be paranoid about security settings */
114 define('GESHI_START_IMPORTANT', '<BEGIN GeSHi>');
116 define('GESHI_END_IMPORTANT', '<END GeSHi>');
125 disabled by {@link GeSHi->enable_strict_mode()} */
153 @see GeSHi->optimize_regexp_list()
159 @see GeSHi->optimize_regexp_list()
205 /** GeSHi could not open a file for reading (generally a language file) */
207 /** The header type passed to {@link GeSHi->set_header_type()} was invalid */
209 /** The line number type passed to {@link GeSHi->enable_line_numbers()} was invalid */
215 * The GeSHi Class.
217 * Please refer to the documentation for GeSHi 1.0.X that is available
226 class GeSHi {
264 GESHI_ERROR_NO_SUCH_LANG => 'GeSHi could not find the language {LANGUAGE} (using path {PATH})',
547 * Creates a new GeSHi object, with source and language
557 * {@link GeSHi->set_language_path()}
571 * Returns the version of GeSHi
582 * Returns an error message associated with the last GeSHi operation,
600 return "<br /><strong>GeSHi Error:</strong> $msg (code {$this->error})<br />";
892 * GeSHi documentation for more information about this.
962 * Sets wether spans and other HTML markup generated by GeSHi can
975 * Get current setting for multiline spans, see GeSHi->enable_multiline_span().
1592 * Note: if you set this to false and @see GeSHi->parse_code() was already called once,
1593 * for the current language, you have to manually call @see GeSHi->optimize_keyword_group()
2470 // is really the engine of GeSHi (along with the method
2578 $string = "<span$string_attributes>" . GeSHi::hsc($char);
2663 GeSHi::hsc($this->language_data['ESCAPE_CHAR']);
4371 " * GeSHi Dynamically Generated Stylesheet\n".
4375 " * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2014 Benny Baumann\n" .
4381 " * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2014 Benny Baumann\n" .
4728 } // End Class GeSHi
4744 $geshi = new GeSHi($string, $language, $path);