You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
This commit is contained in:
@@ -491,8 +491,8 @@ static Ref<Reference> _get_parent_class(GDScriptCompletionContext &context) {
|
||||
path = context.base_path.plus_file(path);
|
||||
}
|
||||
|
||||
if (ScriptCodeCompletionCache::get_sigleton())
|
||||
script = ScriptCodeCompletionCache::get_sigleton()->get_cached_resource(path);
|
||||
if (ScriptCodeCompletionCache::get_singleton())
|
||||
script = ScriptCodeCompletionCache::get_singleton()->get_cached_resource(path);
|
||||
else
|
||||
script = ResourceLoader::load(path);
|
||||
|
||||
@@ -765,8 +765,8 @@ static bool _guess_expression_type(GDScriptCompletionContext &context, const GDS
|
||||
//print_line("is a script");
|
||||
|
||||
Ref<Script> scr;
|
||||
if (ScriptCodeCompletionCache::get_sigleton())
|
||||
scr = ScriptCodeCompletionCache::get_sigleton()->get_cached_resource(script);
|
||||
if (ScriptCodeCompletionCache::get_singleton())
|
||||
scr = ScriptCodeCompletionCache::get_singleton()->get_cached_resource(script);
|
||||
else
|
||||
scr = ResourceLoader::load(script);
|
||||
|
||||
@@ -1301,8 +1301,8 @@ static bool _guess_identifier_type(GDScriptCompletionContext &context, int p_lin
|
||||
//print_line("is a script");
|
||||
|
||||
Ref<Script> scr;
|
||||
if (ScriptCodeCompletionCache::get_sigleton())
|
||||
scr = ScriptCodeCompletionCache::get_sigleton()->get_cached_resource(script);
|
||||
if (ScriptCodeCompletionCache::get_singleton())
|
||||
scr = ScriptCodeCompletionCache::get_singleton()->get_cached_resource(script);
|
||||
else
|
||||
scr = ResourceLoader::load(script);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user