You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Make native shader source visualizer can highlight uint suffix
This commit is contained in:
@@ -66,6 +66,8 @@ void EditorNativeShaderSourceVisualizer::_load_theme_settings() {
|
||||
// Colorize preprocessor statements.
|
||||
const Color user_type_color = EDITOR_GET("text_editor/theme/highlighting/user_type_color");
|
||||
syntax_highlighter->add_color_region("#", "", user_type_color, true);
|
||||
|
||||
syntax_highlighter->set_uint_suffix_enabled(true);
|
||||
}
|
||||
|
||||
void EditorNativeShaderSourceVisualizer::_inspect_shader(RID p_shader) {
|
||||
|
||||
Reference in New Issue
Block a user