basic features of a text editor