The categories that actually have functions in them, ordered by name, each with its population.
The list is derived from what is REGISTERED (a module's custom functions included), which is why
a picker builds its category strip from this rather than from a fixed table — the two drift.
The name is the identity searchByCategory takes and the fallback label; a picker maps the
ones it knows to its own translated label and icon.
Every function in category, ordered by name. Excludes deprecated/hidden ones.
Optionalcategory: string
Omit (or pass an empty string) for every category — the picker's "All".
The functions matching text, best match first — an exact name, then name prefixes, then name
substrings, then a mention in the summary. Empty text yields nothing (not everything).
Optionaloptions: SearchTextOptions
The function-discovery context the
insertFunctioncommand carries — everything a picker (the category menus, and the Insert Function dialog) needs to browse the workbook's functions, built-in and custom alike, without reaching for the workbook itself.Remarks
Each call reads descriptors, which load lazily per language — cheap after the first, but not something to call per keystroke without debouncing.