Option to display line endings

Displays Windows EOL/Cr-Lf on patch diff screen. This is
optional and is controlled by a checkbox. A new column
show_line_endings is added in account_diff_preferences.

Display is similar to gitweb i.e. '\r' in dotted-line box

Bug: issue 626

Change-Id: I6128575bd2f0869a3c59e3d2fd409d5ee431ecc5
This commit is contained in:
Pravin Sethia
2012-07-04 16:17:05 +05:30
committed by Sasa Zivkov
parent e6ec46892f
commit 632653c2d0
9 changed files with 120 additions and 25 deletions

View File

@@ -14,6 +14,7 @@
*/
@external .wse;
@external .lecr;
@external .vt;
@external .wdd;
@external .wdi;
@@ -35,6 +36,19 @@
cursor: pointer;
}
.lecr {
border-bottom: #aaaaaa 1px dashed;
border-left: #aaaaaa 1px dashed;
padding-bottom: 0px;
margin: 0px 2px;
padding-left: 2px;
padding-right: 2px;
border-top: #aaaaaa 1px dashed;
border-right: #aaaaaa 1px dashed;
padding-top: 0px;
cursor: pointer;
}
.vt,
.vt .str,
.vt .kwd,