rem: oldCodeDecorated += "<div class='addline'>" + " ".pad(rawNewLineLength) + "</div>"; 
add: if (paddingOld.length == 0) paddingOld = " "; oldCodeDecorated += "<div class='addline'>" + paddingOld + "</div>"; 
context: 							file.chunks.map(function(chunk) {									var oldCodeDecorated = "";									var newCodeDecorated = "";									var oldLine = chunk['old'].line;									var newLine = chunk['new'].line;									var oldCode = chunk['old'].code;									var newCode = chunk['new'].code;									var oldRawCode = chunk['old'].raw_code;									var newRawCode = chunk['new'].raw_code;									var l = chunk['old'].code.length;									for (var i=0; i < l; ++i) {										//count tabs and normal symbols and make the same number of which in both strings										var rawOldLineLength = (oldRawCode[i])?oldRawCode[i].replace("\t", "".pad(4)).length:0;										var rawNewLineLength = (newRawCode[i])?newRawCode[i].replace("\t", "".pad(4)).length:0;										if ( oldCode[i] == null ) {											oldCodeDecorated += "<div class='addline'>" + " ".pad(rawNewLineLength) + "</div>";											newCodeDecorated += "<div class='addline' title='" + file.name + ":" + newLine + "'>" + newCode[i] +" </div>";											newLine++;										} else if ( newCode[i] == null ) {											newCodeDecorated += "<div class='delline'>" + " ".pad(rawOldLineLength) + "</div>";											oldCodeDecorated += "<div class='delline' title='" + file.name + ":" + oldLine + "'>" + oldCode[i] +" </div>";											oldLine++;										} else {											if ( oldCode[i] == newCode[i] ) {												oldCodeDecorated += "<div class='steadyline' title='" + file.name + ":" + oldLine + "'>" + oldCode[i] +" </div>";												newCodeDecorated += "<div class='steadyline' title='" + file.name + ":" + newLine + "'>" + newCode[i] +" </div>";											} else {												var maxLength = Math.max(rawOldLineLength, rawNewLineLength);												oldCodeDecorated += "<div class='delline' title='" + file.name + ":" + oldLine + "'>" + oldCode[i].pad(oldCode[i].length + maxLength - rawOldLineLength) +" </div>";												newCodeDecorated += "<div class='addline' title='" + file.name + ":" + newLine + "'>" + newCode[i].pad(newCode[i].length + maxLength - rawNewLineLength) +" </div>";											}											newLine++;											oldLine++;										}									}									return [										dom.createElement(											"tr", {'class':'linetag'},											dom.createElement("td", {colspan:2}, "@@"+chunk['old'].line + "," +chunk['new'].line +"@@")										),										dom.createElement(											"tr", {'class':'diffs'},											dom.createElement(												"td", {valign:'top', width:'50%'},												createCodeElement('left', oldCodeDecorated)											),											dom.createElement(												"td", {valign:'top', width:'50%'},												createCodeElement('right', newCodeDecorated)											)										)									];								}
meta: 4572	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4572/0b2e0dfb69637fcc4af6c3751b6445f8cd3d0e0d/side-by-side-view.js/clean/content/colorediffs/views/side-by-side-view.js