diff --git a/lib/ace/mode/sql_highlight_rules.js b/lib/ace/mode/sql_highlight_rules.js index a1b1ce77..3b5e1882 100644 --- a/lib/ace/mode/sql_highlight_rules.js +++ b/lib/ace/mode/sql_highlight_rules.js @@ -45,22 +45,12 @@ var SqlHighlightRules = function() { "start" : [ { token : "comment", regex : "--.*$" - }, { - token : "string", // multi line " string start - merge : true, - regex : '".*$', - next : "qqstring" }, { token : "string", // " string - regex : '"(?:[^\\\\]|\\\\.)*?"' - }, { - token : "string", // multi line ' string start - merge : true, - regex : "'.*$", - next : "qstring" + regex : '".*"' }, { token : "string", // ' string - regex : "'(?:[^\\\\]|\\\\.)*?'" + regex : "'.*'" }, { token : "constant.numeric", // float regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b" @@ -89,24 +79,6 @@ var SqlHighlightRules = function() { }, { token : "text", regex : "\\s+" - } ], - "qqstring" : [ { - token : "string", // multi line " string end - regex : '(?:[^\\\\]|\\\\.)*?"', - next : "start" - }, { - token : "string", - merge : true, - regex : '.+' - } ], - "qstring" : [ { - token : "string", // multi line ' string end - regex : "(?:[^\\\\]|\\\\.)*?'", - next : "start" - }, { - token : "string", - merge : true, - regex : '.+' } ] }; };