mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Fixed shader editor comment highlighting
This commit is contained in:
		
							parent
							
								
									91b21e5fbc
								
							
						
					
					
						commit
						69d1c48b73
					
				
					 3 changed files with 4 additions and 4 deletions
				
			
		|  | @ -172,7 +172,7 @@ void ShaderTextEditor::_load_theme_settings() { | |||
| 	const Color comment_color = EDITOR_GET("text_editor/highlighting/comment_color"); | ||||
| 	syntax_highlighter->clear_color_regions(); | ||||
| 	syntax_highlighter->add_color_region("/*", "*/", comment_color, false); | ||||
| 	syntax_highlighter->add_color_region("//", "", comment_color, false); | ||||
| 	syntax_highlighter->add_color_region("//", "", comment_color, true); | ||||
| } | ||||
| 
 | ||||
| void ShaderTextEditor::_check_shader_mode() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brian Semrau
						Brian Semrau