From 7ecaff578b856dd3ac22f91af551c3da0ddb01b6 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Sun, 17 Nov 2019 08:54:43 -0300 Subject: [PATCH] Make the script templates' blank lines conform with the official style guide --- editor/editor_settings.cpp | 1 + modules/gdscript/gdscript_editor.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index a3a02dbd4c4..87e8a53e94d 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -727,6 +727,7 @@ static Dictionary _get_builtin_script_templates() { templates["no_comments.gd"] = "extends %BASE%\n" "\n" + "\n" "func _ready()%VOID_RETURN%:\n" "%TS%pass\n"; diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 1d82735328c..280bc37dc03 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -83,15 +83,18 @@ String GDScriptLanguage::_get_processed_template(const String &p_template, const Ref