implement TextEditor::setFocus
Merge pull request #229 from mykmelez/texteditor-setfocus

implement TextEditor::setFocus