Text Editor changes

latest changes