When performing a diff between two code files (in my example, .cs files) certain tab stops appear appropriately in the editor window but incorrectly when I generate an HTML text comparison report. For example, I have some code in these files where a list of variables on the left has had their value assignments on the right column-aligned using tab stops, similar to the following example:
In the HTML report these tabs appear to be inserted using 4 spaces regardless of their column alignment, whereas in the editor window and obviously in my code editor the tabs are adjusted to the nearest 4-space column. In the HTML report they end up looking similar to this:
Unfortunately this makes my HTML reports look very sloppy compared to the code itself, or even the way the diff looks in the BC3 editor window. Is there anything I can do to fix this, or is it simply an artifact of the HTML report and something I have to live with?
Code:
string short = "test"; string medium = "test"; string extremelylong = "test";
Code:
string short = "test"; string medium = "test"; string extremelylong = "test";
Comment