Auto complete is great but can be sometimes irritating as Word could be when it formats things for you!
So, trying to be more user friendly, we would like to propose something more Google like. Let’s see what it means.
From Chrome URL field on a new Tab, I start to enter “new”:
The highlighted line below represents what will be selected if I press Enter – it is also the string in the URL field. If I continue “new y”, then “new York” is proposed and automatically completed. This becomes the “Google Search” and “new y” appears only as second choice:
If I lose the mouse focus, the completed Google Search becomes the current value:
In CSS, we could do the same. I start to type the beginning of a PV Name (No History for now) as “UT” and the db parsing find that the closest match between standard separators is “UTIL-“:
If I want to append what has been proposed, I just use the arrow -> or End key and I continue to specify my PV Name. If I use Backspace or Delete key, it has the same effect as using the down arrow and selecting “UT”.
So I enter my PV Name piece by piece:
What happens if the completion could not be done because more than one option is possible. With Chrome, the possible choices are listed but there is not automatic completion and the highlighted line represents what I have entered (and no more than that):
I cannot make any screenshot for CSS as it is not working properly for now… But the idea is that I have for example “UTIL-xxx” and “UVAC-yyy”. If I start typing “U”, “UTIL-“ and “UVAC” would be proposed but none of them will be selected. I will have to use the down arrow key to select “UTIL-“ for example or continue to type “T”.