From 156daddaaf16e36eb932452d1e30f4f77d29aae6 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Sat, 7 Mar 2020 14:29:44 +0000 Subject: Expose Syntax highlighter for editor plugins --- scene/resources/syntax_highlighter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene/resources/syntax_highlighter.h') diff --git a/scene/resources/syntax_highlighter.h b/scene/resources/syntax_highlighter.h index 201bcb03e1..7059ef4ce1 100644 --- a/scene/resources/syntax_highlighter.h +++ b/scene/resources/syntax_highlighter.h @@ -56,6 +56,8 @@ public: void set_text_edit(TextEdit *p_text_edit); TextEdit *get_text_edit(); + virtual Ref _create() const; + SyntaxHighlighter() {} virtual ~SyntaxHighlighter() {} }; -- cgit v1.2.3