MultiAutoComplete invalid entries and range highlighting

This PR aims to fix a problem when you have a suggestion as 'TEST' and you type 'TE' and press enter and the MAC displays an error tooltip.

It also add the highlight feature to the suggestions filtered by the range patter (e.g. p1-4)