Dirk
c0a4c8c3fa
Fix T86891: only sort query results for shortest string if there is a query
...
Differential Revision: https://developer.blender.org/D10802
2021-03-24 12:53:58 +01:00
f951aa063f
UI: prefer shorter search items in fuzzy search
...
This is a simple heuristic that seems to improve the search results in many cases.
Differential Revision: https://developer.blender.org/D10618
2021-03-04 18:39:31 +01:00
b5536c97b7
Merge branch 'blender-v2.92-release'
2021-02-10 16:53:40 +01:00
40a1861265
Fix T85514: exact match is not showing up in search menu
...
The `get_shortest_word_index_that_startswith` function was not doing
what it was supposed to do. This resulted in wrong matches.
2021-02-10 16:52:09 +01:00
806b22d130
Cleanup: typo
...
Committing this to the release branch, to avoid merge conflicts with an
upcoming fix.
2021-02-10 16:52:09 +01:00
56903024dc
Cleanup: Use transparent functor
...
Resolves modernize-use-transparent-functors Clang-Tidy warning.
Differential Revision: https://developer.blender.org/D10323
2021-02-05 15:39:50 +01:00
5badf16531
Cleanup: spelling
2020-09-10 09:45:25 +10:00
45bd8fdc2b
BLI: new string search api that supports fuzzy and prefix matching
...
This adds a generic string search library in `BLI_string_search.h`.
The library has a simple to use C api that allows it's users to
filter and sort a set of possible search results based on some
query string.
Reviewers: Severin
Differential Revision: https://developer.blender.org/D8825
2020-09-09 13:44:45 +02:00