|
19 | 19 |
|
20 | 20 | class SyntaxHighlighter { |
21 | 21 | // All of these variables are private. Filters are provided for things that can be modified. |
22 | | - private $pluginver = '3.6.0'; // Plugin version |
23 | | - private $agshver = false; // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3) |
24 | | - private $shfolder = false; // Controls what subfolder to load SyntaxHighlighter from (v2 or v3) |
25 | | - private $settings = array(); // Contains the user's settings |
26 | | - private $defaultsettings = array(); // Contains the default settings |
27 | | - private $brushes = array(); // Array of aliases => brushes |
28 | | - private $shortcodes = array(); // Array of shortcodes to use |
29 | | - private $themes = array(); // Array of themes |
30 | | - private $usedbrushes = array(); // Stores used brushes so we know what to output |
31 | | - private $encoded = false; // Used to mark that a character encode took place |
32 | | - private $codeformat = false; // If set, SyntaxHighlighter::get_code_format() will return this value |
33 | | - private $content_save_pre_ran = false; // It's possible for the "content_save_pre" filter to run multiple times, so keep track |
| 22 | + public $pluginver = '3.6.0'; // Plugin version |
| 23 | + public $agshver = false; // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3) |
| 24 | + public $shfolder = false; // Controls what subfolder to load SyntaxHighlighter from (v2 or v3) |
| 25 | + public $settings = array(); // Contains the user's settings |
| 26 | + public $defaultsettings = array(); // Contains the default settings |
| 27 | + public $brushes = array(); // Array of aliases => brushes |
| 28 | + public $shortcodes = array(); // Array of shortcodes to use |
| 29 | + public $themes = array(); // Array of themes |
| 30 | + public $usedbrushes = array(); // Stores used brushes so we know what to output |
| 31 | + public $encoded = false; // Used to mark that a character encode took place |
| 32 | + public $codeformat = false; // If set, SyntaxHighlighter::get_code_format() will return this value |
| 33 | + public $content_save_pre_ran = false; // It's possible for the "content_save_pre" filter to run multiple times, so keep track |
34 | 34 |
|
35 | 35 | // Initalize the plugin by registering the hooks |
36 | 36 | function __construct() { |
|
0 commit comments