PLGEDT-41 Add a focus method to the editor