From c5ee554cbb8ba512299515b27396157b566a030b Mon Sep 17 00:00:00 2001 From: Niveathika Date: Tue, 5 Nov 2019 15:12:39 +0530 Subject: [PATCH] Add triple quotes for highlighting rules --- .../lib/ace-editor/mode/siddhi_highlight_rules.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tooling/components/io.siddhi.distribution.editor.core/src/main/resources/web/commons/lib/ace-editor/mode/siddhi_highlight_rules.js b/tooling/components/io.siddhi.distribution.editor.core/src/main/resources/web/commons/lib/ace-editor/mode/siddhi_highlight_rules.js index d393b198a9..2a7e0fbef3 100644 --- a/tooling/components/io.siddhi.distribution.editor.core/src/main/resources/web/commons/lib/ace-editor/mode/siddhi_highlight_rules.js +++ b/tooling/components/io.siddhi.distribution.editor.core/src/main/resources/web/commons/lib/ace-editor/mode/siddhi_highlight_rules.js @@ -63,6 +63,11 @@ define("ace/mode/siddhi_highlight_rules", ["require", "exports", "module", "ace/ start: "/\\*", end: "\\*/" }, + { + token: "string.quoted.double.thrice", + start: '"""', + end: '"""' + }, { token: "string.quoted.double", regex: '".*?"' @@ -126,6 +131,11 @@ define("ace/mode/siddhi_highlight_rules", ["require", "exports", "module", "ace/ start: "/\\*", end: "\\*/" }, + { + token: "string.quoted.double.thrice", + start: '"""', + end: '"""' + }, { token: "string.quoted.double", regex: '".*?"'