UI: Add slash character support to fuzzy search initials mode #106838

Merged
Daniel Salazar merged 2 commits from zanqdo/blender:fuzzy-search-separate-slashes into main 2023-04-12 23:53:48 +02:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit e5fcb97813 - Show all commits

View File

@ -350,6 +350,7 @@ void extract_normalized_words(StringRef str,
const uint32_t unicode_right_triangle = UI_MENU_ARROW_SEP_UNICODE;
BLI_assert(unicode_space == BLI_str_utf8_as_unicode(" "));
BLI_assert(unicode_slash == BLI_str_utf8_as_unicode("/"));
BLI_assert(unicode_right_triangle == BLI_str_utf8_as_unicode(UI_MENU_ARROW_SEP));
auto is_separator = [&](uint32_t unicode) {