[
https://issues.jboss.org/browse/JBIDE-20180?page=com.atlassian.jira.plugi...
]
Daniel Dekany edited comment on JBIDE-20180 at 7/5/16 2:34 AM:
---------------------------------------------------------------
This is being worked on
(
https://github.com/ddekany/jbosstools-freemarker/tree/JBIDE-20180), but probably
won't be practical to rebase on the master until JBIDE-22656 and JBIDE-20386 (and
ideally JBIDE-22656) is merged. Also, it has turned into a major overhaul of the main
partitioner, the coloring tokenizer and the {{ItemSet}} tokenizer, because these have to
agree with each other.
was (Author: ddekany):
This is being worked on
(
https://github.com/ddekany/jbosstools-freemarker/tree/JBIDE-20180), but probably
won't be practical to rebase on the master until JBIDE-22656 and JBIDE-20386 (and
ideally JBIDE-22656) is merged. Also, it has turned into a major overhaul of the main
partitioner, the coloring tokenizer and the NodeSet tokenizer, because these have to agree
with each other.
> (and <) in expressions confuses the editor
--------------------------------------------
Key: JBIDE-20180
URL:
https://issues.jboss.org/browse/JBIDE-20180
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: freemarker
Affects Versions: 4.2.0.Beta2
Reporter: Daniel Dekany
Fix For: 4.3.x, 4.4.x
In the text editor, {{>}} closes the tag even if it's inside a string literal, or
inside parentheses. Try:
* {{<#assign x = 'x>y'>}}: Notice how syntax coloring switches to black
* {{<#if (x > 0)></#if>}}: This one also breaks the outline view; no
macros after this will appear in it.
More puzzling cases with {{<}}; these break outline view too:
* {{<#if x == '<'></#if><#macro m></#macro>}}
* {{<#if x < 1></#if><#macro m></#macro>}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)