Forum

Enum dropdown search

Hi,

Most enums have only a few values but some get longer, such as TweenerMode, and some really long such as FontList - the font picking for Skia Text layers. With enum lists long as this it’s tedious to find the option you’re looking for, the only salvation being that the items are in alphabetic order.

image

It would be nice to be able to quickly sift through Enum entries using the keyboard.

Either simply like in standard system dropdowns with no feedback - just quickly focusing on the option starting with the letters entered.

Or have a proper fulltext search, shown only on-demand after entering the first key - which would filter the options only to those containing the given text.

Here are some examples:

Microsoft Word - Goes to the option, still shows all
image

Adobe InDesign - Filters options. Items beginning with the search query are listed first.
image
image

6 Likes