Simple Text Editor Example