diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-03-02 23:05:40 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-03-02 23:05:40 +0000 |
commit | 80bae763da8bf3f3c73379a1e5d10f5bce266bca (patch) | |
tree | b87237de69bdcc44d2a52a93fcaa7665cc42487b /lib/Rewrite/HTMLRewrite.cpp | |
parent | 84f0ea849e79b08093933970c056d8b8d7be3c82 (diff) |
Adjust HTML message bubbles to utilize information from PathDiagnosticPiece::Kind.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Rewrite/HTMLRewrite.cpp')
-rw-r--r-- | lib/Rewrite/HTMLRewrite.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/Rewrite/HTMLRewrite.cpp b/lib/Rewrite/HTMLRewrite.cpp index b1f5cee366..96e455d1de 100644 --- a/lib/Rewrite/HTMLRewrite.cpp +++ b/lib/Rewrite/HTMLRewrite.cpp @@ -314,12 +314,17 @@ void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID, " .msg { padding:0.5em 1ex 0.5em 1ex }\n" " .msg { margin-top:10px; margin-bottom:10px }\n" " .msg { font-weight:bold }\n" - " .msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap;}\n" + " .msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }\n" + " .msgT { padding:0x; spacing:0x }\n" " .msgEvent { background-color:#fff8b4; color:#000000 }\n" - " .msgControl { background-color:#bbbbbb; color:#444444 }\n" + " .msgControl { background-color:#bbbbbb; color:#000000 }\n" " .mrange { background-color:#dfddf3 }\n" " .mrange { border-bottom:1px solid #6F9DBE }\n" - " .PathIndex { font-weight: bold }\n" + " .PathIndex { font-weight: bold; padding:5px;margin-right:5px;top:5px}\n" + " .PathIndex { -webkit-box-shadow:1px 1px 7px #000 }\n" + " .PathIndex { -webkit-border-radius:5px }\n" + " .PathIndexEvent { background-color:#fffbd9 }\n" + " .PathIndexControl { background-color:#dddddd }\n" " .CodeInsertionHint { font-weight: bold; background-color: #10dd10 }\n" " .CodeRemovalHint { background-color:#de1010 }\n" " .CodeRemovalHint { border-bottom:1px solid #6F9DBE }\n" |