You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
GDScript: Don't highlight unexposed classes
This commit is contained in:
@@ -701,7 +701,9 @@ void GDScriptSyntaxHighlighter::_update_cache() {
|
|||||||
List<StringName> types;
|
List<StringName> types;
|
||||||
ClassDB::get_class_list(&types);
|
ClassDB::get_class_list(&types);
|
||||||
for (const StringName &E : types) {
|
for (const StringName &E : types) {
|
||||||
class_names[E] = types_color;
|
if (ClassDB::is_class_exposed(E)) {
|
||||||
|
class_names[E] = types_color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* User types. */
|
/* User types. */
|
||||||
|
|||||||
Reference in New Issue
Block a user