TEXT EDITORS Presented by: Anita Yadav Roll No. 09 CSE 6th sem
Definition
of Text Editor:-
A text editor is a type type of progr program am used used for for editing plain text files. Often
provided with operating systems.
Types of of text editors 1.
Line Editors
2. Stream Editor 3. Screen Editor 4. Word Proces esssor 5. Structure Ed Editor
Line
Editor
Scope of edit operations is limited to a line of text. The line is designated positionally. Advantage: Simplicity Disadvantage:-
Does not display the text in the manner it
would appear if printed
Stream Editor Editor Views
the entire text as a stream of characters. This permits edit e dit operations to cross line boundaries. Support character character,line ,line and context context oriented commands based on the current editing context context indicated indicated by the position of a text pointer.
Screen Editor A screen editor uses the what you see is what you get principle in editor design. The user can move the cursor over the screen ,position it at the point where he desires to perform some editing and proceed with the editing directly. Advantage: Useful while formatting the text to produce
printed documents.
ord W ord
Processors
Basically
document editors with additional features to produce well formatted hard copy output. Essential features of word processors are commands for moving sections of text from one place place to another,merg another,merging ing of text, text, and searching and replacement of words. Many word processors processors support a spell check che ck option. e.g. Wordstar
Structure Structure Editors Editors Incorporates Incorporates an awareness of the structure of a document. Structure is specified by the user while creating or modifying the document. Editing requirements requirements are specified using the structure. A special class of structure editors editors , called syntax directed editors, are used in programming environments.
eatures F eatures
of text editors
String searching algorithm Cut, copy, and paste Text formatting Undo and redo Data
transformation
F iltering iltering
Syntax Synt ax highlighting
Pros and Cons of
Text
Editors
Advantages Text Editor
Simple and places less demands on system. Provides greater control over the application
Disadvantages Difficult to Visualise output(e.g: to preview a webpage you have to have a suitable browser) Dependant on programming or text-based commands knowledge
Thank you for interesting in our services. We are a non-profit group that run this website to share documents. We need your help to maintenance this website.