Fix whitespace errors with word diff enabled
Whitespace errors weren't being displayed if they occurred within a region that was highlighted for word difference on a line, due to the word difference HTML code preventing the patterns from matching. Bug: issue 445 Change-Id: If4f32352aa43d7517fe7cd3f20aa8982360800a0 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -26,13 +26,23 @@
|
||||
border-left: 1px dotted red;
|
||||
}
|
||||
|
||||
.wse .vt {
|
||||
border-left: 2px dotted black;
|
||||
}
|
||||
|
||||
.wdd {
|
||||
background: #FAA;
|
||||
}
|
||||
.wdi {
|
||||
background: #9F9;
|
||||
}
|
||||
|
||||
/* Use special rules for special styles contained within a whitespace
|
||||
* error. For these we want the whitespace error to take precedence
|
||||
* so we have to override the contained style.
|
||||
*/
|
||||
.wse .vt {
|
||||
border-left: 2px dotted black;
|
||||
}
|
||||
.wse .wdd {
|
||||
background: red;
|
||||
}
|
||||
.wse .wdi {
|
||||
background: red;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user