[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-7030) HTML highlighting and code assist in JS editor inside string variables

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Mon Mar 28 08:03:38 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-7030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yahor Radtsevich updated JBIDE-7030:
------------------------------------

    Assignee:     (was: Denis Vinnichek)


> HTML highlighting and code assist in JS editor inside string variables
> ----------------------------------------------------------------------
>
>                 Key: JBIDE-7030
>                 URL: https://issues.jboss.org/browse/JBIDE-7030
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Visual Page Editor core
>            Reporter: Dzianis Sheka
>             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.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list