Closed rhdunn closed 8 years ago
Given:
declare function test1($a) { <a> <b type="test">hello</b> </a> }; declare function test2() { () }; ()
In the type="test" attribute:
type="test"
test
{}
"
{""}
After (2), declare function is now highlighted as identifiers, not keywords.
declare function
NOTE: This is in usage such as:
<b type="{if ($a) then "one" else "two"}">
Some other observations:
<a>
test1
declare function test1()
Should be fixed by https://github.com/ligasgr/intellij-xquery/issues/178
Given:
In the
type="test"
attribute:test
content to{}
"
then"
(sotest
is now{""}
)After (2),
declare function
is now highlighted as identifiers, not keywords.NOTE: This is in usage such as:
Some other observations:
<a>
elements and repeating the tests do not exhibit the above behaviour.test1
(i.e.declare function test1()
) and repeating the tests do not exhibit the above behaviour.