Skip to content

Commit

Permalink
Change the highlighting of '/**' to '/** '.
Browse files Browse the repository at this point in the history
  • Loading branch information
magian1127 committed May 4, 2024
1 parent f91db3d commit 70d4b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/text_shader_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ void ShaderTextEditor::_load_theme_settings() {
syntax_highlighter->add_color_region("//", "", comment_color, true);

const Color doc_comment_color = EDITOR_GET("text_editor/theme/highlighting/doc_comment_color");
syntax_highlighter->add_color_region("/**", "*/", doc_comment_color, false);
syntax_highlighter->add_color_region("/** ", "*/", doc_comment_color, false);

// Disabled preprocessor branches use translucent text color to be easier to distinguish from comments.
syntax_highlighter->set_disabled_branch_color(Color(EDITOR_GET("text_editor/theme/highlighting/text_color")) * Color(1, 1, 1, 0.5));
Expand Down

0 comments on commit 70d4b83

Please sign in to comment.