diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-04-13 20:03:54 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-04-13 20:03:54 +0200 |
| commit | 2b6e8d301068d81636ea4002ec9099d1cfb7074b (patch) | |
| tree | d34f40df6a0f707c8871000c3a1a9ded06ad26f3 /src/phorkie/File.php | |
| parent | d9f6b83ed6d8a4546e4119c64b639adda057d25e (diff) | |
| download | phorkie-2b6e8d301068d81636ea4002ec9099d1cfb7074b.tar.gz phorkie-2b6e8d301068d81636ea4002ec9099d1cfb7074b.zip | |
highlighting of errorneous lines in from tool output
Diffstat (limited to 'src/phorkie/File.php')
| -rw-r--r-- | src/phorkie/File.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); } /** |
