GDScript: Don't highlight unexposed classes
This commit is contained in:
parent
92e51fca72
commit
e999f11d53
1 changed files with 3 additions and 1 deletions
|
|
@ -701,7 +701,9 @@ void GDScriptSyntaxHighlighter::_update_cache() {
|
|||
List<StringName> types;
|
||||
ClassDB::get_class_list(&types);
|
||||
for (const StringName &E : types) {
|
||||
class_names[E] = types_color;
|
||||
if (ClassDB::is_class_exposed(E)) {
|
||||
class_names[E] = types_color;
|
||||
}
|
||||
}
|
||||
|
||||
/* User types. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue