See Also

Text editor

A text editor is software application Application software

Application software is a defined subclass of computer software [i] that employs the capabilities of a c ... 

 used for editing plain text. It is distinguished from a word processor Word processor

A word processor is a computer [i] application [i] used for the production of any ... 

 in that it does not manage document formatting or other features commonly used in desktop publishing Desktop publishing

Desktop publishing combines a personal computer [i] and page layout software [i] to create publication [i] ... 

. Text editors are often provided with operating system Operating system

An operating system is a software program [i] that manages the hardware [i] and software [i] ... 

s or software development packages, and can be used to change configuration files and programming language Programming language

A programming language is an artificial language [i] that can be used to control [i] ... 

 source code Source code

Source code is any series of statements written in some human-readable [i] computer programming language [i] ... 

. Some text editors are small and simple, while others offer a broad and complex range of functionality. For example, Unix Unix

Unix or UNIX is a computer [i] operating system [i] originally developed in the 1960s and 1970s by ... 

 and Unix-like operating systems have the vi Vi

vi is a screen-oriented text editor [i] computer program [i] written by Bill Joy [i] in 1976 [i] for an ... 

 editor , but many also include the Emacs Emacs

Emacs is a class of text editor [i]s, possessing an extensive set of features, that are popular with computer programmer [i] ... 

 editor.

Discussions

  Discussion Features

   Ask a question about 'Text editor'

   Start a new discussion about 'Text editor'

   Answer questions about 'Text editor'

   'Text editor' discussion forum


Encyclopedia


A text editor is software application Application software

Application software is a defined subclass of computer software [i] that employs the capabilities of a c ... 

 used for editing plain text. It is distinguished from a word processor Word processor

A word processor is a computer [i] application [i] used for the production of any ... 

 in that it does not manage document formatting or other features commonly used in desktop publishing Desktop publishing

Desktop publishing combines a personal computer [i] and page layout software [i] to create publication [i] ... 

.

Text editors are often provided with operating system Operating system

An operating system is a software program [i] that manages the hardware [i] and software [i] ... 

s or software development packages, and can be used to change configuration files and programming language Programming language

A programming language is an artificial language [i] that can be used to control [i] ... 

 source code Source code

Source code is any series of statements written in some human-readable [i] computer programming language [i] ... 

.

Some text editors are small and simple, while others offer a broad and complex range of functionality. For example, Unix Unix

Unix or UNIX is a computer [i] operating system [i] originally developed in the 1960s and 1970s by ... 

 and Unix-like operating systems have the vi Vi

vi is a screen-oriented text editor [i] computer program [i] written by Bill Joy [i] in 1976 [i] for an... 

 editor , but many also include the Emacs Emacs

Emacs is a class of text editor [i]s, possessing an extensive set of features, that are popular with computer programmer [i]... 

 editor. Microsoft Windows Microsoft Windows

Microsoft Windows is a family of operating system [i]s by Microsoft [i].... 

 systems come with the very simple Notepad Notepad

Notepad is a simple text editor [i] included with all versions of Microsoft Windows [i] since version 1.0 [i] ... 

, though many people use a more complete program. Under Apple Macintosh Macintosh

The Macintosh, or Mac, is a line of personal computer [i]s designed, developed, manufactured, and ... 

's classic Mac OS Mac OS

Mac OS, which stands for Macintosh Operating System, is a series of graphical user interface [i]... 

, there was the native SimpleText SimpleText

SimpleText is the native text editor [i] for the Classic Mac OS [i]. ... 

, which was replaced or supplemented by WorldText. Some editors, such as TextEdit TextEdit

name = TextEdit
|logo = | screenshot = |caption =
... 

 and WordStar WordStar

WordStar was a word processor [i] application, published by MicroPro [i], originally written for the CP/M operating system [i] ... 

, have dual operating modes, allowing them to be either a text editor or a word processor.

History

Before text editors existed, computer text was punched into Hollerith card Punch card

The punch card is an obsolescent [i] recording medium [i] for digital information for use by automated ... 

s with keypunch Key punch

A key punch is a machine for manually entering data onto punch card [i]s. ... 

 machines. The text was carried as a physical box of these thin cardboard cards, and read into a card-reader.

The first text editors were line editors oriented on typewriter Typewriter

A typewriter is a mechanical [i], electromechanical [i], or electronic [i] device wi ... 

 style terminals and they did not provide a window or screen-oriented display. They usually had very short commands that reproduced the current line. Among them were a command to print a selected section of the file on the typewriter in case of necessity. An "edit cursor", an imaginary insertion point, can be moved by special commands that operated with line numbers of specific text strings . Later, the context strings were extended to regular expressions. To see the changes, the file needed to be printed on the printer. These "line-based text editors" were considered revolutionary improvements over keypunch machines. In cases typewriter-based terminals were not available, they were adapted to keypunch equipment. In this case the user needed to punch the commands into the separate deck of cards and feed them into the computer in order to edit the file.

When computer terminal Computer terminal

A computer terminal is an electronic or electromechanical hardware [i] device that is ... 

s with video screens became inexpensive, screen-based text editors became common. One of the earliest "full screen" editors is vi Vi

vi is a screen-oriented text editor [i] computer program [i] written by Bill Joy [i] in 1976 [i] for an... 

, which is still a standard editor for Unix Unix

Unix or UNIX is a computer [i] operating system [i] originally developed in the 1960s and 1970s by ... 

 and Linux Linux

Linux is a Unix-like [i] computer operating system [i]. ... 

 operating systems. The productivity of editing using these editors motivated many of the early purchases of video terminals.

Types of text editors

Text editors geared for professional computer users place no limit on the size of the file being opened. In particular, they start quickly even when editing large files, and can edit files that are too large to fit the computer's main memory. Simpler text editors often just read files in an array in RAM Random access memory

Random-access memory refers to data storage [i] formats and equipment that allow the storing data [i] t ... 

. On larger files, this is slow, and very large files often do not fit.

The ability to read and write very large files is needed by many professional computer users. For example, system administrators may need to read long log files. Programmers may need to change large source code Source code

Source code is any series of statements written in some human-readable [i] computer programming language [i] ... 

, or examine naturally large texts, such as an entire dictionary placed in a single file.

Some text editors include specialized computer languages to customize the editor . For example, Emacs can be customized by programming in Lisp. These usually permit the editor to simulate the keystroke combinations and features of other editors, so that users don't have to learn the native command combinations.

Another important group of programmable editors use REXX as their scripting language. These editors permit entering both commands and REXX statements directly in the command line at the bottom of the screen . These editors are usually referred to as "orthodox editors", and most representatives of this class are derivatives of Xedit, IBM's editor for VM/CMS. Among them are THE, Kedit, SlickEdit, X2, Uni-edit and Sedit. Some vi derivatives such as vim also support folding as well as macro languages, and have a command line at the bottom for entering commands. They can be considered as another branch of orthodox editors family.

Many text editors for software developers include source code syntax highlighting Syntax highlighting

Syntax highlighting is a feature of some text editor [i]s that displays text—especially source code [i] ... 

 and automatic completion to make programs easier to read and write. Programming editors often permit one to select the name of a subprogram or variable, and then jump to its definition and back. Often an auxiliary utility like ctags is used to locate the definitions.

Some editors include special features and extra functions, for instance,
  • Source code editors are text editors with additional functionality to facilitate the production of source code. These often feature user-programmable syntax highlighting, and coding tools or keyboard macros similar to an HTML editor .
  • Folding editors. This subclass includes so-called "orthodox editors" that are derivatives of Xedit. The specialized version of folding is usually called outlining .
  • IDEs
  • HTML editor HTML editor

    An HTML editor is a software application [i] for creating web pages [i]. ... 

    s are basic text editors with extra functionality for the manipulation and previewing of code, typically of programming languages used for web development. The additional functionality may include syntax highlighting, and usually includes wizards, toolbars or keyboard macros, or a combination of these.
  • Outliners. Folding can generally be considered a generalized form of outlining.

See also

  • Editor war
  • List of text editors List of text editors

    The following is a list of text editor [i]s. ... 

  • Comparison of text editors
  • Collaborative editor

External links

  • Discusses Xedit and its clones with an emphasis of folding capabilities and programmability.