From 5adb50244cb2f0bfb25bb99e8fa044a3fa039f52 Mon Sep 17 00:00:00 2001 From: William Candillon Date: Tue, 7 Feb 2012 16:31:05 +0100 Subject: [PATCH] Add new keywords. --- lib/ace/mode/xquery_highlight_rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/mode/xquery_highlight_rules.js b/lib/ace/mode/xquery_highlight_rules.js index c2689a03..a39dc726 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|count|updating|insert|delete|replace|value|node|attribute|into|of|with").split("|") + "if|then|else|as|and|or|typeswitch|case|ascending|descending|empty|in|count|updating|insert|delete|replace|value|node|attribute|text|element|into|of|with").split("|") ); // regexp must not have capturing parentheses