mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Expose Syntax highlighter for editor plugins
This commit is contained in:
parent
2f1080be9b
commit
156daddaaf
11 changed files with 71 additions and 19 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue