[
http://jira.jboss.com/jira/browse/JBIDE-801?page=comments#action_12372964 ]
Alexey Kazakov commented on JBIDE-801:
--------------------------------------
I reported to WTP
https://bugs.eclipse.org/bugs/show_bug.cgi?id=200576
But if it's very critical issue then we can try to "fix" it for our HTML
Editor.
In order to do it we should replace EmbeddedCSSFormatter (WTP) by our implementation.
Code formater breaks
---------------------
Key: JBIDE-801
URL:
http://jira.jboss.com/jira/browse/JBIDE-801
Project: JBoss Tools
Issue Type: Bug
Affects Versions: 2.0.0.Beta1
Environment: RHDS beta1, windows XP, jdk 1.5._0.12
Reporter: Adrian Mitev
Assigned To: Viacheslav Kabanovich
Priority: Critical
Fix For: 2.0.0.Beta4
Attachments: after format.JPG, before format.JPG
I'm editting xhtml page and have the following code:
<table
style="border: 2px solid #{a4jSkin.additionalBackgroundColor}"
width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" style="background-color:
#{a4jSkin.additionalBackgroundColor}">#{projMsg.components}</td>
<td width="50%" style="background-color:
#{a4jSkin.additionalBackgroundColor}">#{projMsg.versions}</td>
</tr>
...
After i invoke code formatter - ctrl+shift+f the it formats the code but breaks the EL
expressions inside the style property
The code looks like this:
<table
style="border: 2px solid #{ a4jSkin . additionalBackgroundColor"
width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" style="background-color: #{ a4jSkin .
additionalBackgroundColor">#{projMsg.components}</td>
<td width="50%" style="background-color: #{ a4jSkin .
additionalBackgroundColor">#{projMsg.versions}</td>
</tr>
....
There are some space inserted and the closing "}" bracket is removed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira