summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-09 08:39:07 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-09 08:39:07 +0100
commit6a86dfad29d5475aa6be4510b0823e834a8e85ed (patch)
tree760a1d277e0e7ef7ee34c35ab6397b1428c43df6
parent31f94574d4c114e4fbdca944113601ad09a981b4 (diff)
Fix typos with codespell
Also includes #71080. Co-authored-by: Psychpsyo <60073468+Psychpsyo@users.noreply.github.com>
-rw-r--r--CONTRIBUTING.md2
-rw-r--r--doc/classes/EditorPlugin.xml2
-rw-r--r--doc/classes/TileMap.xml2
-rw-r--r--modules/openxr/extensions/openxr_extension_wrapper.h2
-rw-r--r--tests/scene/test_code_edit.h4
5 files changed, 6 insertions, 6 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 63e6a89e64..21d6e110ce 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -55,7 +55,7 @@ in the editor, don't hesitate to include screenshots.
Making your bug report easy to reproduce will make it easier for contributors
to fix the bug.
-### Provide a simple, example project
+### Provide a simple example project
Sometimes, unexpected behavior can happen in your project. In such case,
understand that:
diff --git a/doc/classes/EditorPlugin.xml b/doc/classes/EditorPlugin.xml
index adcc87d062..b44c1d7ffa 100644
--- a/doc/classes/EditorPlugin.xml
+++ b/doc/classes/EditorPlugin.xml
@@ -664,7 +664,7 @@
<return type="void" />
<param index="0" name="callable" type="Callable" />
<description>
- Removes a callback previsously added by [method add_undo_redo_inspector_hook_callback].
+ Removes a callback previously added by [method add_undo_redo_inspector_hook_callback].
</description>
</method>
<method name="set_force_draw_over_forwarding_enabled">
diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml
index 8b537545bc..8176901ff7 100644
--- a/doc/classes/TileMap.xml
+++ b/doc/classes/TileMap.xml
@@ -321,7 +321,7 @@
<param index="1" name="y_sort_enabled" type="bool" />
<description>
Enables or disables a layer's Y-sorting. If a layer is Y-sorted, the layer will behave as a CanvasItem node where each of its tile gets Y-sorted.
- Y-sorted layers should usually be on different Z-index values than not Y-sorted layers, otherwise, each of those layer will be Y-sorted as whole with the Y-sorted one. This is usually an undesired behvaior.
+ Y-sorted layers should usually be on different Z-index values than not Y-sorted layers, otherwise, each of those layer will be Y-sorted as whole with the Y-sorted one. This is usually an undesired behavior.
If [code]layer[/code] is negative, the layers are accessed from the last one.
</description>
</method>
diff --git a/modules/openxr/extensions/openxr_extension_wrapper.h b/modules/openxr/extensions/openxr_extension_wrapper.h
index 51eb06c9df..84279635b5 100644
--- a/modules/openxr/extensions/openxr_extension_wrapper.h
+++ b/modules/openxr/extensions/openxr_extension_wrapper.h
@@ -73,7 +73,7 @@ public:
virtual void on_before_instance_created() {} // `on_before_instance_created` is called before we create our OpenXR instance.
virtual void on_instance_created(const XrInstance p_instance) {} // `on_instance_created` is called right after we've successfully created our OpenXR instance.
virtual void on_instance_destroyed() {} // `on_instance_destroyed` is called right before we destroy our OpenXR instance.
- virtual void on_session_created(const XrSession p_instance) {} // `on_session_created` is called right after we've successsfully created our OpenXR session.
+ virtual void on_session_created(const XrSession p_instance) {} // `on_session_created` is called right after we've successfully created our OpenXR session.
virtual void on_session_destroyed() {} // `on_session_destroyed` is called right before we destroy our OpenXR session.
// `on_process` is called as part of our OpenXR process handling,
diff --git a/tests/scene/test_code_edit.h b/tests/scene/test_code_edit.h
index b0f3b68a16..c68560000c 100644
--- a/tests/scene/test_code_edit.h
+++ b/tests/scene/test_code_edit.h
@@ -2894,7 +2894,7 @@ TEST_CASE("[SceneTree][CodeEdit] completion") {
CHECK(code_edit->get_caret_column() == 6);
code_edit->undo();
- // brace completion disbaled
+ // brace completion disabled
code_edit->set_auto_brace_completion_enabled(false);
// Full completion.
@@ -2934,7 +2934,7 @@ TEST_CASE("[SceneTree][CodeEdit] completion") {
CHECK(code_edit->get_caret_column() == 7);
code_edit->undo();
- // brace completion disbaled
+ // brace completion disabled
code_edit->set_auto_brace_completion_enabled(false);
// Full completion.