summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TTextHighlighter.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TTextHighlighter.php')
-rw-r--r--framework/Web/UI/WebControls/TTextHighlighter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TTextHighlighter.php b/framework/Web/UI/WebControls/TTextHighlighter.php
index be104896..35f3cc23 100644
--- a/framework/Web/UI/WebControls/TTextHighlighter.php
+++ b/framework/Web/UI/WebControls/TTextHighlighter.php
@@ -81,7 +81,7 @@ class TTextHighlighter extends TWebControl
* This method overrides parent implementation.
* @param THtmlWriter writer
*/
- protected function onPreRender($writer)
+ public function onPreRender($writer)
{
parent::onPreRender($writer);
$this->registerHighlightStyleSheet();