Implemented set_text_editor command.