1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix uint's suffix is not highlighted in text shader editor

This commit is contained in:
jsjtxietian
2024-05-03 21:45:53 +08:00
parent 03e6fbb010
commit b851514b10
3 changed files with 11 additions and 1 deletions

View File

@@ -334,6 +334,8 @@ void ShaderTextEditor::_load_theme_settings() {
warnings_panel->add_theme_font_override("normal_font", EditorNode::get_singleton()->get_editor_theme()->get_font(SNAME("main"), EditorStringName(EditorFonts)));
warnings_panel->add_theme_font_size_override("normal_font_size", EditorNode::get_singleton()->get_editor_theme()->get_font_size(SNAME("main_size"), EditorStringName(EditorFonts)));
}
syntax_highlighter->set_uint_suffix_enabled();
}
void ShaderTextEditor::_check_shader_mode() {