Text Editor solution