mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Fix uint's suffix is not highlighted in text shader editor
This commit is contained in:
parent
03e6fbb010
commit
b851514b10
3 changed files with 11 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue