more changes to text editor