diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-19 10:41:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-19 10:41:36 +0100 |
commit | 8450658fa24accd838e5c59d79770a514cafc81a (patch) | |
tree | cd6c1d28296129b7ad93b1425586fd008714c7e3 /modules | |
parent | 511de4ce51f75f464c43df811ec717b21a6dd749 (diff) | |
parent | 7ecaff578b856dd3ac22f91af551c3da0ddb01b6 (diff) |
Merge pull request #33673 from YeldhamDev/script_templates_lines_style
Make the script templates' blank lines conform with the official style guide
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 1d82735328..280bc37dc0 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -84,14 +84,17 @@ String GDScriptLanguage::_get_processed_template(const String &p_template, const Ref<Script> GDScriptLanguage::get_template(const String &p_class_name, const String &p_base_class_name) const { String _template = "extends %BASE%\n" "\n" + "\n" "# Declare member variables here. Examples:\n" "# var a%INT_TYPE% = 2\n" "# var b%STRING_TYPE% = \"text\"\n" "\n" + "\n" "# Called when the node enters the scene tree for the first time.\n" "func _ready()%VOID_RETURN%:\n" "%TS%pass # Replace with function body.\n" "\n" + "\n" "# Called every frame. 'delta' is the elapsed time since the previous frame.\n" "#func _process(delta%FLOAT_TYPE%)%VOID_RETURN%:\n" "#%TS%pass\n"; |