Author: dsakovich
Date: 2008-03-27 13:47:51 -0400 (Thu, 27 Mar 2008)
New Revision: 7157
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
Log:
Code adjustment
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2008-03-27
17:28:47 UTC (rev 7156)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2008-03-27
17:47:51 UTC (rev 7157)
@@ -2247,6 +2247,7 @@
nsIDOMNode visualNewTextNode = visualDocument
.createTextNode(visualText);
nsIDOMElement element = visualDocument.createElement(HTML.TAG_SPAN);
+ element.setAttribute(HTML.ATTR_STYLE, ""); //$NON-NLS-1$
element.appendChild(visualNewTextNode);
if (registerFlag) {
registerNodes(new VpeNodeMapping(sourceNode, element));
Show replies by date