Augmenting PopupMenu with a quick search option

I love JUCE popup menus and I tend to use them a lot, sometimes a bit too much, like listing thousands of presets with 3 levels of sub menus…

Here is a (not too big) file that you can use to be able to quick search through juce PopupMenus by using showPopupMenuWithQuickSearch instead of menu.showMenuAsync. See the top comment in the file for more details.

(update 1 : fixed the linux version which was broken , and clang-format it with juce style)

popup_menu_with_quick_search.h (33.3 KB)