]
Maxim Areshkau updated JBIDE-7030:
----------------------------------
Fix Version/s: 3.3.x
HTML highlighting and code assist in JS editor inside string
variables
----------------------------------------------------------------------
Key: JBIDE-7030
URL:
https://jira.jboss.org/browse/JBIDE-7030
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Visual Page Editor core
Reporter: Dzianis Sheka
Assignee: Maxim Areshkau
Fix For: 3.3.x
When we develop something on JavaScript,sometimes we use the next constructions:
function insert_tree_base(data) {
eval("window.items=" + data + ";");
if (items && (items.length > 0)) {
var s = "<table cellspacing='0' cellpadding='5'
class='tree'>";
for (var i=0; i < items.length; i++) {
s = s + "<tr><td valign='top'
align='left'>" + window.insert_tree_build(window.items[i], 0) +
"</td></tr>";
}
s = s + "</table>";
jQuery("#treeFragment").append(s);
}
And in VPE we don't have a html highlighting inside s = s + "<tr><td
valign='top' align='left'>" +
window.insert_tree_build(window.items[i], 0) + "</td></tr>";
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: