Merge pull request #19131 from YeldhamDev/connection_comment_capitalize

Capitalized comments of methods created by the Connect Signal dialog
This commit is contained in:
Max Hilbrunner 2018-05-24 01:21:17 +02:00 committed by GitHub
commit aee8d26252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -416,7 +416,7 @@ String GDScriptLanguage::make_function(const String &p_class, const String &p_na
s += p_args[i].get_slice(":", 0); s += p_args[i].get_slice(":", 0);
} }
} }
s += "):\n" + _get_indentation() + "pass # replace with function body\n"; s += "):\n" + _get_indentation() + "pass # Replace with function body.\n";
return s; return s;
} }

View File

@ -446,7 +446,7 @@ String CSharpLanguage::make_function(const String &p_class, const String &p_name
s += variant_type_to_managed_name(arg.get_slice(":", 1)) + " " + escape_csharp_keyword(arg.get_slice(":", 0)); s += variant_type_to_managed_name(arg.get_slice(":", 1)) + " " + escape_csharp_keyword(arg.get_slice(":", 0));
} }
s += ")\n{\n // Replace with function body\n}\n"; s += ")\n{\n // Replace with function body.\n}\n";
return s; return s;
#else #else