mirror of
https://github.com/godotengine/godot.git
synced 2025-10-27 03:34:17 +00:00
Remove underscore hacks
Way less cruft. :) Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
This commit is contained in:
parent
81f7d1890b
commit
5161c97c9c
12 changed files with 38 additions and 132 deletions
|
|
@ -104,11 +104,7 @@ void EditorStandardSyntaxHighlighter::_update_cache() {
|
|||
List<StringName> types;
|
||||
ClassDB::get_class_list(&types);
|
||||
for (const StringName &E : types) {
|
||||
String n = E;
|
||||
if (n.begins_with("_")) {
|
||||
n = n.substr(1, n.length());
|
||||
}
|
||||
highlighter->add_keyword_color(n, type_color);
|
||||
highlighter->add_keyword_color(E, type_color);
|
||||
}
|
||||
|
||||
/* User types. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue