mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
commit
e98aaf1caa
9 changed files with 15 additions and 15 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue