Add support for autocompletion in StringEditor