diff --git a/lib/ace/mode/xquery_highlight_rules.js b/lib/ace/mode/xquery_highlight_rules.js index c8d5ec93..6803c004 100644 --- a/lib/ace/mode/xquery_highlight_rules.js +++ b/lib/ace/mode/xquery_highlight_rules.js @@ -27,7 +27,7 @@ var XQueryHighlightRules = function() { var keywords = lang.arrayToMap( ("return|for|let|where|order|by|declare|function|variable|xquery|version|option|namespace|import|module|" + "switch|default|try|catch|group|tumbling|sliding|window|start|end|at|only|" + - "if|then|else|as|and|or|typeswitch|case|ascending|descending|empty|in").split("|") + "if|then|else|as|and|or|typeswitch|case|ascending|descending|empty|in|count").split("|") ); // regexp must not have capturing parentheses