mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +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
	
	 Paulb23
						Paulb23