highlighting of errorneous lines in from tool output
[phorkie.git] / src / phorkie / File.php
index 869aa80a66984ec86d5224d0df538ab1407c357d..de8bde0f1eca272fe4704236dbf961380f7cc206 100644 (file)
@@ -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);
     }
 
     /**