| Summary: | [SSE] keyword "to" is not highlighted | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Gabriel Petrovay <gabipetrovay> |
| Component: | WTP Incubator | Assignee: | Lionel Villard <villard> |
| Status: | CLOSED FIXED | QA Contact: | XQDT <xqdt> |
| Severity: | normal | ||
| Priority: | P2 | CC: | villard |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Gabriel Petrovay
The problem appears in more cases starting with OrExpr in the EBNF: or, and, to, div, mod, idiv, union, ... (In reply to comment #1) > The problem appears in more cases starting with OrExpr in the EBNF: or, and, > to, div, mod, idiv, union, ... can you be more explicit and give examples? Thanks. 1 to 2 2 div 3 3 union 4 4 and 5 etc Currently, operators are not highlighted. Go to Preferences -> XQuery -> Editor -> Syntax hightlighting and change the defaut for operator. I think that the operators that are not "special-sign-only" ("div", "to", "union", etc) should be marked as keywords for syntax coloring. Think about the "new" operator in C++.
I think this is helpful for examples like:
let $x := treat treat as node()
if the operators remain with the default black color.
-----
On the other hand, I would not like to see all signs marked as keywords.
This is fixed. Makes it to the 0.8M1 release. |