You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Tweak the built-ins color highlighting in the shader editor (take 2)
The new color is more distinguishable from other variables and symbols.
This commit is contained in:
@@ -143,10 +143,10 @@ void ShaderTextEditor::_load_theme_settings() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const Color member_variable_color = EDITOR_GET("text_editor/theme/highlighting/member_variable_color");
|
const Color user_type_color = EDITOR_GET("text_editor/theme/highlighting/user_type_color");
|
||||||
|
|
||||||
for (const String &E : built_ins) {
|
for (const String &E : built_ins) {
|
||||||
syntax_highlighter->add_keyword_color(E, member_variable_color);
|
syntax_highlighter->add_keyword_color(E, user_type_color);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Colorize comments.
|
// Colorize comments.
|
||||||
|
|||||||
Reference in New Issue
Block a user