From 2ef8aba8e99a320ca25ae48fb291417f546ca0b8 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Sat, 3 Oct 2020 16:16:34 +0100 Subject: [PATCH] Fix gdscript multiline string nested highlighting --- modules/gdscript/gdscript_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index eab0a3702dc..bef8f6c5d67 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -47,9 +47,9 @@ void GDScriptLanguage::get_comment_delimiters(List *p_delimiters) const void GDScriptLanguage::get_string_delimiters(List *p_delimiters) const { + p_delimiters->push_back("\"\"\" \"\"\""); p_delimiters->push_back("\" \""); p_delimiters->push_back("' '"); - p_delimiters->push_back("\"\"\" \"\"\""); } String GDScriptLanguage::_get_processed_template(const String &p_template, const String &p_base_class_name) const {