This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
this is legal in a template, for example: <g:if test="\${flash.message}"> Afterwords, the highlighting is confused.
Still valid issue, but this is quite minor --> Changing TM to Next
I'm not sure I agree this is minor since the highlighting is confused for several (potentially many) lines.
Ok, I'll take a look on it
Problem seems to be in HTML highlighting. Reassigning for evaluation. Following code is a valid HTML, but it's highlighted incorrectly. <html> <body data-test="\${}"> </body> </html>
Sorry Marek, I was wrong :] .. it's only groovy/gsp related --> Reassigning back to me
Fixed in: web-main #996b07c2e800
Integrated into 'main-golden', will be available in build *201203230400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/996b07c2e800 User: Martin Janicek <mjanicek@netbeans.org> Log: #202243 - GSP syntax highlighting gets confused by "\${"
There is another, very closely related problem (see attachment). Do you want me to add it here or open a new ticket?
Created attachment 117352 [details] highlighting confused by the 'else' statement
More precisely, highlighting is confused by the "$('#searchText').val(null);' statement after the 'else', even though it's highlighted correctly directly above.
Please, fill a new issue about that one. And if possible provide some minimal reproducible code sequence.