summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_editor_plugin.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-08-28 00:12:12 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-08-28 00:12:12 +0200
commite98aaf1caabf8e043ef6da5e3275c59acca04b29 (patch)
treee759c7c83b9ae8a740e340cc2139d1a2fa28c96d /editor/plugins/script_editor_plugin.h
parent10a92287c6570d9218c77f6a6cd280dfd2b12594 (diff)
parentf9258ff928fb949eb5ccf4829cb85369a54b48cf (diff)
downloadredot-engine-e98aaf1caabf8e043ef6da5e3275c59acca04b29.tar.gz
Merge pull request #94477 from RedMser/typos-batch-1
Fix various typos
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
-rw-r--r--editor/plugins/script_editor_plugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h
index 5dbf5d6f38..66885790a7 100644
--- a/editor/plugins/script_editor_plugin.h
+++ b/editor/plugins/script_editor_plugin.h
@@ -55,7 +55,7 @@ class EditorSyntaxHighlighter : public SyntaxHighlighter {
GDCLASS(EditorSyntaxHighlighter, SyntaxHighlighter)
private:
- Ref<RefCounted> edited_resourse;
+ Ref<RefCounted> edited_resource;
protected:
static void _bind_methods();
@@ -67,8 +67,8 @@ public:
virtual String _get_name() const;
virtual PackedStringArray _get_supported_languages() const;
- void _set_edited_resource(const Ref<Resource> &p_res) { edited_resourse = p_res; }
- Ref<RefCounted> _get_edited_resource() { return edited_resourse; }
+ void _set_edited_resource(const Ref<Resource> &p_res) { edited_resource = p_res; }
+ Ref<RefCounted> _get_edited_resource() { return edited_resource; }
virtual Ref<EditorSyntaxHighlighter> _create() const;
};