A line editor is a type of text editor that allows users to edit text one line at a time. Line editors are typically used for editing code or other text that is written in a linear fashion, as opposed to a document editor, which is designed for editing files that are organized into pages and paragraphs. Line editors usually provide a set of basic editing features, such as the ability to insert, delete, and move text, as well as more advanced features such as search and replace, syntax highlighting, and code completion.