thanks for the clarifications.
But it’s still broken/wrong. The top element of the list is “H.Rule”. - why is that even shown - the desc. is “Horizontal Rule, Separator, Line, HR” - where is “para” there!? Ahh… it is “se_para_tor”. Whereas the desc. for text is “Paragraph of Text”. You can refer to http://stackoverflow.com/questions/2901831/algorithm-for-autocomplete for some ideas about rules of autocomplete - but one is definitely that mid-word matches should rank lower that prefix matches (if mid-word matches should match at all… when I typed “para” was I really looking for separator?
A separate problem you have here is that the “parallelogram” will also match in the “shapes” description - but chances are most of the times someone types in “para” they would be more interested in “paragraph” than “parallelogram” - but that’s already heuristics.
@kemch - yes including the icons is confusing - it would be nice if there was some more clear visual indicator - perhaps include the box around them - or make them a difference color - or the text a different size. There are different approaches - I’m sure the UX gurus here will figure something out.