You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Add subsequence search to tools
Add it to the following searches: - Create node. - Scene tree. - Inspector properties. - Classes list in help. - Quick open.
This commit is contained in:
@@ -386,7 +386,7 @@ bool SceneTreeEditor::_add_nodes(Node *p_node,TreeItem *p_parent) {
|
||||
item->set_as_cursor(0);
|
||||
}
|
||||
|
||||
bool keep= ( filter==String() || String(p_node->get_name()).to_lower().find(filter.to_lower())!=-1 );
|
||||
bool keep= (filter.is_subsequence_ofi(String(p_node->get_name())));
|
||||
|
||||
for (int i=0;i<p_node->get_child_count();i++) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user