You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -552,7 +552,7 @@ Dictionary CodeHighlighter::get_color_regions() const {
|
||||
Dictionary r_color_regions;
|
||||
for (int i = 0; i < color_regions.size(); i++) {
|
||||
ColorRegion region = color_regions[i];
|
||||
r_color_regions[region.start_key + (region.end_key.empty() ? "" : " " + region.end_key)] = region.color;
|
||||
r_color_regions[region.start_key + (region.end_key.is_empty() ? "" : " " + region.end_key)] = region.color;
|
||||
}
|
||||
return r_color_regions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user