From 8be79dc3b89b02b51b30ffd5421c96dc03b3fce6 Mon Sep 17 00:00:00 2001 From: Jian-Hong Pan Date: Tue, 19 Nov 2024 18:58:30 +0800 Subject: [PATCH 1/5] TemplateEditor: Drop unused _regex and FORMAT_STRING_PATTERN --- .../ui/blocks/utilities/template_editor/template_editor.gd | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/block_code/ui/blocks/utilities/template_editor/template_editor.gd b/addons/block_code/ui/blocks/utilities/template_editor/template_editor.gd index 3835961b..6958114b 100644 --- a/addons/block_code/ui/blocks/utilities/template_editor/template_editor.gd +++ b/addons/block_code/ui/blocks/utilities/template_editor/template_editor.gd @@ -13,8 +13,6 @@ const ParameterInputScene = preload("res://addons/block_code/ui/blocks/utilities const ParameterOutput = preload("res://addons/block_code/ui/blocks/utilities/parameter_output/parameter_output.gd") const ParameterOutputScene = preload("res://addons/block_code/ui/blocks/utilities/parameter_output/parameter_output.tscn") -const FORMAT_STRING_PATTERN = "\\[(?[^\\]]+)\\]|\\{(?[^}]+)\\}|(?