You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Expose Syntax highlighter for editor plugins
This commit is contained in:
@@ -387,6 +387,8 @@ void GDScriptSyntaxHighlighter::_update_cache() {
|
||||
type_color = EDITOR_GET("text_edit/highlighting/base_type_color");
|
||||
}
|
||||
|
||||
SyntaxHighlighter *GDScriptSyntaxHighlighter::create() {
|
||||
return memnew(GDScriptSyntaxHighlighter);
|
||||
Ref<SyntaxHighlighter> GDScriptSyntaxHighlighter::_create() const {
|
||||
Ref<GDScriptSyntaxHighlighter> syntax_highlighter;
|
||||
syntax_highlighter.instance();
|
||||
return syntax_highlighter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user