A text editor is a type of program used to edit plain text files. There are several types of text editors including line editors, stream editors, screen editors, word processors, and structure editors. Text editors provide features like find and replace, cut/copy/paste, undo and redo, syntax highlighting, and the ability to handle UTF-8 encoded text. Specialized text editors include source code editors, folding editors, IDEs, HTML editors, TeX editors, and outliners.