[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-7030) HTML highlighting and code assist in JS editor inside string variables
Dzianis Sheka (JIRA)
jira-events at lists.jboss.org
Wed Sep 8 11:31:49 EDT 2010
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
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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list