A text editor is a program for inserting or amending text in a file. A text editor is not a word processor although some text editors do include word processing facilities.