includes/diffengine/Renderer/unified.php
changeset 1227 bdac73ed481e
parent 1 fe660c52c48f
--- a/includes/diffengine/Renderer/unified.php	Sun Mar 28 21:49:26 2010 -0400
+++ b/includes/diffengine/Renderer/unified.php	Sun Mar 28 23:10:46 2010 -0400
@@ -11,40 +11,40 @@
  */
 class Text_Diff_Renderer_unified extends Text_Diff_Renderer {
 
-    /**
-     * Number of leading context "lines" to preserve.
-     */
-    var $_leading_context_lines = 4;
+		/**
+ 		* Number of leading context "lines" to preserve.
+ 		*/
+		var $_leading_context_lines = 4;
 
-    /**
-     * Number of trailing context "lines" to preserve.
-     */
-    var $_trailing_context_lines = 4;
+		/**
+ 		* Number of trailing context "lines" to preserve.
+ 		*/
+		var $_trailing_context_lines = 4;
 
-    function _blockHeader($xbeg, $xlen, $ybeg, $ylen)
-    {
-        if ($xlen != 1) {
-            $xbeg .= ',' . $xlen;
-        }
-        if ($ylen != 1) {
-            $ybeg .= ',' . $ylen;
-        }
-        return "@@ -$xbeg +$ybeg @@";
-    }
+		function _blockHeader($xbeg, $xlen, $ybeg, $ylen)
+		{
+				if ($xlen != 1) {
+						$xbeg .= ',' . $xlen;
+				}
+				if ($ylen != 1) {
+						$ybeg .= ',' . $ylen;
+				}
+				return "@@ -$xbeg +$ybeg @@";
+		}
 
-    function _added($lines)
-    {
-        return $this->_lines($lines, '+');
-    }
+		function _added($lines)
+		{
+				return $this->_lines($lines, '+');
+		}
 
-    function _deleted($lines)
-    {
-        return $this->_lines($lines, '-');
-    }
+		function _deleted($lines)
+		{
+				return $this->_lines($lines, '-');
+		}
 
-    function _changed($orig, $final)
-    {
-        return $this->_deleted($orig) . $this->_added($final);
-    }
+		function _changed($orig, $final)
+		{
+				return $this->_deleted($orig) . $this->_added($final);
+		}
 
 }