1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +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:
George Marques
2016-06-12 13:43:31 -03:00
parent a6c37d2b5d
commit 68868aabc6
5 changed files with 8 additions and 8 deletions

View File

@@ -2804,7 +2804,7 @@ void PropertyEditor::update_tree() {
if (capitalize_paths)
cat = cat.capitalize();
if (cat.findn(filter)==-1 && name.findn(filter)==-1)
if (!filter.is_subsequence_ofi(cat) && !filter.is_subsequence_ofi(name))
continue;
}