summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorHolonProduction <holonproduction@gmail.com>2023-04-17 15:58:39 +0200
committerYuri Sizov <yuris@humnom.net>2023-04-26 14:14:05 +0200
commit769daf79e2d77232ffb95cc41c007046dc674a30 (patch)
tree906bad47c20c51c3747a0187ce455c71e666c6a4 /modules/gdscript
parent39c0392a64861b5f89717f6dc091c82bc1d72513 (diff)
Fix multi-line string highlighting with single quotes.
(cherry picked from commit bdb7045e2c4ab181b95c7699f76807fe4b6509ef)
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gdscript_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp
index 536cb344f4..a8c1f38486 100644
--- a/modules/gdscript/gdscript_editor.cpp
+++ b/modules/gdscript/gdscript_editor.cpp
@@ -54,6 +54,7 @@ void GDScriptLanguage::get_string_delimiters(List<String> *p_delimiters) const {
p_delimiters->push_back("\" \"");
p_delimiters->push_back("' '");
p_delimiters->push_back("\"\"\" \"\"\"");
+ p_delimiters->push_back("''' '''");
}
bool GDScriptLanguage::is_using_templates() {