From 2b6e8d301068d81636ea4002ec9099d1cfb7074b Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 13 Apr 2012 20:03:54 +0200 Subject: highlighting of errorneous lines in from tool output --- src/phorkie/File.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/phorkie/File.php') diff --git a/src/phorkie/File.php b/src/phorkie/File.php index 869aa80..de8bde0 100644 --- a/src/phorkie/File.php +++ b/src/phorkie/File.php @@ -58,7 +58,7 @@ class File return file_get_contents($this->path); } - public function getHighlightedContent() + public function getHighlightedContent(Tool_Result $res = null) { $ext = $this->getExt(); if (isset($GLOBALS['phorkie']['languages'][$ext]['renderer'])) { @@ -67,7 +67,7 @@ class File $class = '\\phorkie\\Renderer_Geshi'; } $rend = new $class(); - return $rend->toHtml($this); + return $rend->toHtml($this, $res); } /** -- cgit v1.2.3