You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Core] Add case-insensitive String::containsn
This commit is contained in:
@@ -322,7 +322,7 @@ void EditorLog::_rebuild_log() {
|
||||
bool EditorLog::_check_display_message(LogMessage &p_message) {
|
||||
bool filter_active = type_filter_map[p_message.type]->is_active();
|
||||
String search_text = search_box->get_text();
|
||||
bool search_match = search_text.is_empty() || p_message.text.findn(search_text) > -1;
|
||||
bool search_match = search_text.is_empty() || p_message.text.containsn(search_text);
|
||||
return filter_active && search_match;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user