From 525d1e0301b07cb2283d7593aca73edbefb2b63f Mon Sep 17 00:00:00 2001 From: "Septian Ganendra S. K" Date: Wed, 3 Jan 2024 00:05:03 +0700 Subject: [PATCH] Fix various typos in documentation (#189) --- doc_classes/LuaAPI.xml | 4 ++-- doc_classes/LuaCallableExtra.xml | 2 +- doc_classes/LuaDefaultObjectMetatable.xml | 2 +- doc_classes/LuaError.xml | 4 ++-- doc_classes/LuaFunctionRef.xml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc_classes/LuaAPI.xml b/doc_classes/LuaAPI.xml index 29ac2fc0..c85977d5 100644 --- a/doc_classes/LuaAPI.xml +++ b/doc_classes/LuaAPI.xml @@ -35,7 +35,7 @@ Loads a file with luaL_loadfile() passing its absolute path. - Similar to [code].DoString()[/code], this function loads a lua file into the LuaAPI Object and executes it as Lua. [code]FilePath[/code] must be an absolute path, and must exist or an error is reutrned. + Similar to [code].DoString()[/code], this function loads a lua file into the LuaAPI Object and executes it as Lua. [code]FilePath[/code] must be an absolute path, and must exist or an error is returned. @@ -125,7 +125,7 @@ When true, Lua functions passed to Godot will use the LuaCallable type. This type is a CallableCustom which has issues currently with GDExtension and C# - When false, Lua functions passed to Godot will use the LuaFunctionRef type. This type is a RefCounted which behaves the same as a LuaCallable. But uses Inoke instead of Call. + When false, Lua functions passed to Godot will use the LuaFunctionRef type. This type is a RefCounted which behaves the same as a LuaCallable. But uses Invoke instead of Call. diff --git a/doc_classes/LuaCallableExtra.xml b/doc_classes/LuaCallableExtra.xml index 88e9cbae..fdc72043 100644 --- a/doc_classes/LuaCallableExtra.xml +++ b/doc_classes/LuaCallableExtra.xml @@ -4,7 +4,7 @@ A tuple. - This is a simple wrapper class to let LuaAPI know you want a little extra info. It is used to request references to the LuaAPI object as an argument and specifie your last argument is a tuple. + This is a simple wrapper class to let LuaAPI know you want a little extra info. It is used to request references to the LuaAPI object as an argument and specify your last argument is a tuple. diff --git a/doc_classes/LuaDefaultObjectMetatable.xml b/doc_classes/LuaDefaultObjectMetatable.xml index 277bb27d..612aa7e9 100644 --- a/doc_classes/LuaDefaultObjectMetatable.xml +++ b/doc_classes/LuaDefaultObjectMetatable.xml @@ -4,7 +4,7 @@ The default LuaObjectMetatable used by the LuaAPI class as the object_metatable value. - This metatable by default checks if the object has a lua_fields method. If it does depending on how permissice is set. The listed fields will be allowed or disallowed. + This metatable by default checks if the object has a lua_fields method. If it does depending on how permissive is set. The listed fields will be allowed or disallowed. This metatable also checks if the object overrides any of the metamethods, if it does it will call the overridden method. diff --git a/doc_classes/LuaError.xml b/doc_classes/LuaError.xml index 0f0e84bf..49393557 100644 --- a/doc_classes/LuaError.xml +++ b/doc_classes/LuaError.xml @@ -14,13 +14,13 @@ - This is a static method that exists so you dont have to call LuaError.new() and err.set_info(msg, type) every time. It creates a new error and calls set_info passing msd and type. + This is a static method that exists so you don't have to call LuaError.new() and err.set_info(msg, type) every time. It creates a new error and calls set_info passing msd and type. - The error message. Will also contain the stack trace if apllicable. + The error message. Will also contain the stack trace if applicable. The error type. diff --git a/doc_classes/LuaFunctionRef.xml b/doc_classes/LuaFunctionRef.xml index fba58160..66a1fcaa 100644 --- a/doc_classes/LuaFunctionRef.xml +++ b/doc_classes/LuaFunctionRef.xml @@ -9,7 +9,7 @@ - +