A text cditor is a program that enables you to create and modify text
files. Typically, a text
editor provides a screen with a fixed line length and line numbers. You can type text line by
line, navigate through the documents by using different commands, and save the
document.
However, a text editor is usually less preferred by users over a word processor because a
word processor offers additional features, such as text formatting, Youcan use a
text editor
to:
" Create and edit documents.
Create programs and utilities.
" Write e-mail messages.
Functions of a Text Editor
Typically, a text editor enables you to perform the following functions:
" Create files: Youcan use a text editor to create, edit, and save files.
Open files: You can open, modify, and save an existing file in a text editor. You can
also open multiple documents at a time by using a text editor.
" Copy text: Text editors facilitate document creation because they enable you to
copy
and paste text.
" Search for text: In a text editor, youcan search for a
particular expression or
word. In case you do not remember the expression to be searched for, you can use
wildcard characters to look for the expression. In addition, many text editors provi
the scarch and replace feature. The search and replace feature enables you to
change multiple instances of a particular word or a string.