Oh, maybe my explanation was a bit unclear. I wan't to select a part of the text on the edit line. I'm was trying to create a script which completes a word on the line, using entries in the combobox. The added part of the word should then be selected, so you can keep on typing.