[cfe-commits] r53492 - /cfe/trunk/lib/Rewrite/HTMLRewrite.cpp

Ted Kremenek kremenek at apple.com
Fri Jul 11 16:13:23 PDT 2008


Author: kremenek
Date: Fri Jul 11 18:13:22 2008
New Revision: 53492

URL: http://llvm.org/viewvc/llvm-project?rev=53492&view=rev
Log:
Add CSS for word wrapping of long message bubbles.

Modified:
    cfe/trunk/lib/Rewrite/HTMLRewrite.cpp

Modified: cfe/trunk/lib/Rewrite/HTMLRewrite.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/HTMLRewrite.cpp?rev=53492&r1=53491&r2=53492&view=diff

==============================================================================
--- cfe/trunk/lib/Rewrite/HTMLRewrite.cpp (original)
+++ cfe/trunk/lib/Rewrite/HTMLRewrite.cpp Fri Jul 11 18:13:22 2008
@@ -306,6 +306,7 @@
       " .msg { float:left }\n"
       " .msg { padding:0.5em 1ex 0.5em 1ex }\n"
       " .msg { margin-top:10px; margin-bottom:10px }\n"
+      " .msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap;}\n"
       " .mrange { background-color:#dfddf3 }\n"
       " .mrange { border-bottom:1px solid #6F9DBE }\n"
       " .PathIndex { font-weight: bold }\n"





More information about the cfe-commits mailing list