What is text Editor
A Text Editor is a system or program that allows a user to edit text.
A text editor is a type of program used for editing plain text files.
A text editor is a tool that allows a user to create and revise documents in a computer. Though this task can be carried out in other modes, the word text editor commonly refers to the tool that does this interactively. Earlier computer documents used to be primarily plain text documents, but nowadays due to improved input-output mechanisms and file formats, a document frequently contains pictures along with texts whose appearance (script, size, colour and style) can be varied within the document. Apart from producing output of such wide variety, text editors today provide many advanced features of inter activeness and output.Best Text Editor For Linux OS
Types of Text Editors
Depending on how editing is performed, and the type of output that can be generated, editors can be broadly classified as –
- Line Editors – During original creation lines of text are recognised and delimited by end-of-line markers, and during subsequent revision, the line must be explicitly specified by line number or by some pattern context. eg. edlin editor in early MS-DOS systems.
- Stream Editors – The idea here is similar to line editor, but the entire text is treated as a single stream of characters. Hence the location for revision cannot be specified using line numbers. Locations for revision are either specified by explicit positioning or by using pattern context. eg. sed in Unix/Linux.
Line editors and stream editors are suitable for text-only documents.
- Screen Editors – These allow the document to be viewed and operated upon as a two dimensional plane, of which a portion may be displayed at a time. Any portion may be specified for display and location for revision can be specified anywhere within the displayed portion. eg. vi, emacs, etc.
- Word Processors – Provides additional features to basic screen editors. Usually support non-textual contents and choice of fonts, style, etc.
- Structure Editors – These are editors for specific types of documents, so that the editor recognises the structure/syntax of the document being prepared and helps in maintaining that structure/syntax.
Salient Aspects of Text Editor
A text editor has to cover the following main aspects related to document creation, storage and revision –
- Interactive user interface
- Appropriate format for storing the document in file in secondary storage
- Efficient transfer of information between the user interface and the file in secondary storage.
An important group of programmable editors uses REXX as the scripting language. These “orthodox editors” let the user open a “command line” into which commands and REXX statements can be typed. Most such editors are derivatives of XEDIT, IBM’s editor for VM/CMS. Among them are THE, KEDIT, SlickEdit, X2, Uni-edit, UltraEdit, and SEDIT. Some vi derivatives such as Vim also support folding as well as macro languages, and also have a command line.
The Best Text Editor For Linux OS are listed below :