Adds autocompletion to a text component. Provides a popup window with a list of autocomplete choices on a given keystroke, such as Crtrl+Space.