From 32191f128b8daeb883b0372736085041d5c02dc0 Mon Sep 17 00:00:00 2001 From: Builder's Brewery Date: Thu, 20 Feb 2014 08:56:39 +0100 Subject: [PATCH] working on invalid escape chars --- lib/ace/mode/lsl_highlight_rules.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ace/mode/lsl_highlight_rules.js b/lib/ace/mode/lsl_highlight_rules.js index 865da271..16938b3c 100644 --- a/lib/ace/mode/lsl_highlight_rules.js +++ b/lib/ace/mode/lsl_highlight_rules.js @@ -116,15 +116,15 @@ function LSLHighlightRules() { token : "constant.character.escape.lsl", regex : /\\[tn"\\]/ }, + { + token : "invalid.illegal.constant.character.escape.lsl", + regex : "\\." + }, { token : "string.quoted.double.end.lsl", regex : /"/, next : "start" }, - { - token : "invalid.illegal.constant.character.escape.lsl", - regex : /\\\./ - }, { token : "string.quoted.double.lsl", regex : ".+"