[cfe-commits] r49870 - /cfe/trunk/lib/Rewrite/HTMLRewrite.cpp
Chris Lattner
sabre at nondot.org
Thu Apr 17 14:28:41 PDT 2008
Author: lattner
Date: Thu Apr 17 16:28:41 2008
New Revision: 49870
URL: http://llvm.org/viewvc/llvm-project?rev=49870&view=rev
Log:
Make sure popup is on top over other spans. wrap long line.
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=49870&r1=49869&r2=49870&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/HTMLRewrite.cpp (original)
+++ cfe/trunk/lib/Rewrite/HTMLRewrite.cpp Thu Apr 17 16:28:41 2008
@@ -120,7 +120,8 @@
if (!ReplaceTabs)
break;
if (EscapeSpaces)
- RB.ReplaceText(FilePos, 1, " ", 6*8);
+ RB.ReplaceText(FilePos, 1, " "
+ " ", 6*8);
else
RB.ReplaceText(FilePos, 1, " ", 8);
break;
@@ -269,7 +270,7 @@
" .macro:hover .expansion { display: block; border: 2px solid #FF0000; "
"padding: 2px; background-color:#FFF0F0;"
" -webkit-border-radius:5px; -webkit-box-shadow:1px 1px 7px #000; "
- "position: absolute; top: -1em; left:10em } \n"
+ "position: absolute; top: -1em; left:10em; z-index: 1 } \n"
" .macro { color: #FF0000; background-color:#FFC0C0;"
// Macros are position: relative to provide base for expansions.
" position: relative }\n"
More information about the cfe-commits
mailing list