Similar to the current "Replace textures" dialog, but it just selects the matching faces.
Searches in the whole map if nothing is selected, or only in the selection if there are currently brushes/faces selected.
I would like to handle this with the search box https://github.com/kduske/TrenchBroom/issues/1247 -- enter a texture name and then select all. The query language should support ensuring that only exact matches remain. Should also allow specifying the type of the search result, e.g. only faces.
Makes sense to integrate it with the main search system, but I think there should be a visual way to pick the texture, like the current "Replace texture" dialog offers.
If it's not a floating texture list like the "Replace textures" dialog to create the search query, one option could be right-clicking on a texture in the main texture browser has a "Find usages..." context menu item, which then does a search.
Another point, is the "Replace textures" dialog redundant once we have this? Having the faces selected lets you try different texture applications and seems more useful than a dedicated texture replacement window.
Anyway I can move these ideas to the #1247 ticket if that's better?
I like the "find usages" context menu idea.
And we should have this for entities as well.