SlideShare a Scribd company logo
TEXT Editor
 An Interactive text editor has become an
important part of almost any computing
environment
 Text editor acts as a primary interface to the
computer for all type of “knowledge workers” as
they compose, organize, study, and manipulate
computer-based information.
A text editor allows you to edit a text file (create,
modify etc…).
 The common editing features associated with
text editors are, Moving the cursor, Deleting,
Replacing, Pasting, Searching, Searching and
replacing, Saving and loading, and,
Miscellaneous(e.g. quitting)
 Windows OS - Notepad, WordPad, Microsoft
Word, and text editors.
 UNIX OS - vi, emacs, jed, pico.
 Gui based editors
• Gedit gvim
• Nedit
• Tea
• subtime
Overview of the editing process
 Document-editing process involves-
 - Select the part of the target document to be viewed
and manipulated
 - Determine how to format this view on-line and how to
display it
 - Specify and execute operations that modify the target
document
 - Update the view appropriately
O The above task involves traveling, filtering and
formatting. Editing phase involves
O – insert, delete, replace, move, copy, cut, paste, etc…
O - Traveling – locate the area of interest
O - Filtering - extracting the relevant subset
O - Formatting – visible representation on a display
screen
User Interface
O Conceptual model of the editing system provides
an easily understood abstraction of the target
document and its elements.
O Line editors – simulated the world of the key
punch – 80 characters, single line or an integral
number of lines,
O Screen editors – Document is represented as a
quarter-plane of text lines, unbounded both down
and to the right.
O The user interface is concerned with, the input
devices, the output devices and, the interaction
language.
O Input Devices are divided into three categories, text
devices, button devices and, locator devices.
O Text Devices are keyboard.
O Button Devices are special function keys, symbols
on the screen.
O Locator Devices are mouse, data tablet.
O voice input devices which translates spoken words
to their textual equivalents.
O Output Devices are Teletypewriters (first output
devices), Glass teletypes (Cathode ray tube (CRT)
technology), Advanced CRT terminals, TFT
Monitors
(Wysiwyg) and Printers (Hard-copy).
O The interaction language could be, typing
oriented or text command oriented and menu-
oriented user interface.
O Typing oriented or text command oriented
interaction was with oldest editors, in the form of
use of commands, use of function keys, control
keys
etc.,
O Menu-oriented user interface has menu with a
multiple choice set of text strings or icons.
Display area for text is limited. Menus can be
turned on or off.
Typical Editor Structure Diagram
Components of Editor Structure
OCommand language processor:
It accepts input from the user’s input devices, and
analyzes the tokens and syntactic structure of the
commands.
The command language functions much like the
lexical and syntactic phases of a complier.
In complier CLP may invoke semantic routines
directly.
In a text editor, these semantic routines perform
functions such as editing and viewing.
CLP may produce an intermediate representation
of the desired editing operations.
This intermediate representation is then decoded
by an interpreter that invokes the appropriate semantic
routines.
The use of an intermediate representation allows
the editor to provide the variety of user-interaction
languages with a single set of semantic routine.
The routines involves travelling, editing, viewing and display
functions.
OEditing operations are always specified explicitly by the user.
OThe Display operations are specified implicitly by the other
three categories of operations.
OThe travelling and viewing operations may be invoked either
explicitly by the user or implicitly by the editing operations
OThere is a relationship between this classes of operations
and it is considerably more complicated than a simple
model.
Simple relationship between editing and viewing
buffers
OIn editing a document, the start of the area to be edited is
determined by the editing component (which deals in
editing task).
OThe current editing pointer can be set or reset explicitly by
the user with traveling command such as…
ONext paragraph
ONext screen.
OOr implicitly by the system as a side effect such as delete
paragraph.
Current editing pointer
OThe traveling component of the editor actually performs the
setting of the current editing and the viewing pointers and
determines the point at which the viewing or editing filtering
begins.
OWhen the user issues an editing command the editing
component invokes the editing filter.
OThis filter generates a new editing buffer based on the
current editing pointer.
OThese parameters which are specified both by the user and
the system, provide information such as the range of the
text that can be affected by an operation.
--------------------End of CEP------------------
Current viewing pointer
OIn viewing a document, the start of the area to be viewed is
determined by the current viewing pointer.
OThis pointer is maintained by the viewing component of
the editor
OThe current viewing pointer can be set or reset explicitly
by the user with a travelling command or explicitly by the
system as a result of the previous editing operation .
OWhen the display needs to be updated, the viewing
component invoked the viewing filter.
OThis component filters the document to generate the new
viewing buffer based on the current viewing pointer as well
as on the viewing filter parameters.
OThis parameters which is specified both by the user and
system, provide information such as the number of
characters needed to fill the display and how to select them
from the document..
OThe editing and viewing buffers, while independent, can be
related in many ways. In the simplest case..
OThey are identical, the user edits the material directly on the
screen
Thank you…!!!
Ad

More Related Content

What's hot (20)

Text editors project
Text editors projectText editors project
Text editors project
Mohit kumar
 
USER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPTUSER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPT
vicci4041
 
Visual Basic menu
Visual Basic menuVisual Basic menu
Visual Basic menu
kuldeep94
 
Web Development
Web DevelopmentWeb Development
Web Development
Lena Petsenchuk
 
Visual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdfVisual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdf
sheenmarie0212
 
Introduction to .NET Framework
Introduction to .NET FrameworkIntroduction to .NET Framework
Introduction to .NET Framework
Raghuveer Guthikonda
 
Std 12 Computer Chapter 3 Designing Simple Website using KompoZer
Std 12 Computer Chapter 3  Designing Simple Website using KompoZerStd 12 Computer Chapter 3  Designing Simple Website using KompoZer
Std 12 Computer Chapter 3 Designing Simple Website using KompoZer
Nuzhat Memon
 
Asp net
Asp netAsp net
Asp net
Dr. C.V. Suresh Babu
 
Introduction to MS Office
Introduction to MS OfficeIntroduction to MS Office
Introduction to MS Office
cristy nazareno
 
Ide description
Ide descriptionIde description
Ide description
Nidhi Baranwal
 
XML
XMLXML
XML
Avanitrambadiya
 
jQuery for beginners
jQuery for beginnersjQuery for beginners
jQuery for beginners
Arulmurugan Rajaraman
 
User interface design
User interface designUser interface design
User interface design
Naveen Sagayaselvaraj
 
Windows form application - C# Training
Windows form application - C# Training Windows form application - C# Training
Windows form application - C# Training
Moutasm Tamimi
 
html-table
html-tablehtml-table
html-table
Dhirendra Chauhan
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
Arun Prasad
 
presentation on static website design
presentation on static website designpresentation on static website design
presentation on static website design
jyotiyadav1926
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
Paras Patel
 
What is operating system
What is operating systemWhat is operating system
What is operating system
રજનીશ સિંહા
 
Basics of JavaScript
Basics of JavaScriptBasics of JavaScript
Basics of JavaScript
Bala Narayanan
 

Viewers also liked (20)

Editor structure
Editor structureEditor structure
Editor structure
Nikhil Palyekar
 
Notepad Presentation Mca
Notepad Presentation McaNotepad Presentation Mca
Notepad Presentation Mca
hamzaghanchi
 
Full Presentation on Notepad
Full Presentation on NotepadFull Presentation on Notepad
Full Presentation on Notepad
manish chaturvedi
 
Notepad
NotepadNotepad
Notepad
John Bhatt
 
Notepad
NotepadNotepad
Notepad
Liz
 
Software tools
Software toolsSoftware tools
Software tools
ravindravekariya
 
System software 1ppt(udated)
System software 1ppt(udated)System software 1ppt(udated)
System software 1ppt(udated)
uraj007
 
Ftp.75 to 76
Ftp.75 to 76Ftp.75 to 76
Ftp.75 to 76
myrajendra
 
Interactive debugging system
Interactive debugging systemInteractive debugging system
Interactive debugging system
Florence priyadarshini
 
Useful linux-commands
Useful linux-commandsUseful linux-commands
Useful linux-commands
Himani Singh
 
Software System Development Methodologies, tools, design and life cycle by K....
Software System Development Methodologies, tools, design and life cycle by K....Software System Development Methodologies, tools, design and life cycle by K....
Software System Development Methodologies, tools, design and life cycle by K....
Babu Kanikicharla (K Y Babu Setty)
 
Notes on Debugging
Notes on DebuggingNotes on Debugging
Notes on Debugging
Cotap Engineering
 
Vi editor
Vi   editorVi   editor
Vi editor
Nidhi Sharma
 
Gmizavci
GmizavciGmizavci
Gmizavci
Srdjan Lukic
 
The Art Of Debugging
The Art Of DebuggingThe Art Of Debugging
The Art Of Debugging
svilen.ivanov
 
Debugging
DebuggingDebugging
Debugging
Jonathan Holloway
 
Project synopsis on online voting system
Project synopsis on online voting systemProject synopsis on online voting system
Project synopsis on online voting system
Lhakpa Yangji
 
именске речи
именске речиименске речи
именске речи
Danijela Šakota
 
Notepad ++
Notepad ++Notepad ++
Notepad ++
Dileep Choudhary
 
Debugging
DebuggingDebugging
Debugging
Indu Sharma Bhardwaj
 
Ad

Similar to Text editor (20)

Ss tools
Ss toolsSs tools
Ss tools
Sumathi Gnanasekaran
 
Ss tools
Ss toolsSs tools
Ss tools
Sumathi Gnanasekaran
 
Text editors(ss)
Text editors(ss)Text editors(ss)
Text editors(ss)
nishara nish
 
ss5.ppt
ss5.pptss5.ppt
ss5.ppt
ssuser1f953d
 
Unit 5 2
Unit 5 2Unit 5 2
Unit 5 2
krishna.patanakar
 
ArduinoWorkshop2.pdf
ArduinoWorkshop2.pdfArduinoWorkshop2.pdf
ArduinoWorkshop2.pdf
PedramKashiani
 
system-software-tools
system-software-toolssystem-software-tools
system-software-tools
Temesgen Molla
 
Operating system
Operating systemOperating system
Operating system
ARUNAYESUDAS
 
software-tools-part-1.ppt
software-tools-part-1.pptsoftware-tools-part-1.ppt
software-tools-part-1.ppt
SadiaZar1
 
RSA Training.pptx
RSA Training.pptxRSA Training.pptx
RSA Training.pptx
nuwan01
 
APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...
APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...
APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...
kushagrabudhwar2005
 
Five steps involved in user interface design are Use scenario dev.pdf
Five steps involved in user interface design are Use scenario dev.pdfFive steps involved in user interface design are Use scenario dev.pdf
Five steps involved in user interface design are Use scenario dev.pdf
navyugenterprisesdoo
 
EDITORS
EDITORSEDITORS
EDITORS
sonalikharade3
 
application software of CS de - www.pptx
application software of CS de - www.pptxapplication software of CS de - www.pptx
application software of CS de - www.pptx
muhammadammarqaiser
 
SPOS_UNIT I System Programming and Operating System.pdf
SPOS_UNIT I System Programming and Operating System.pdfSPOS_UNIT I System Programming and Operating System.pdf
SPOS_UNIT I System Programming and Operating System.pdf
reshma96176
 
User Interface Design,Principles & process
User Interface  Design,Principles & processUser Interface  Design,Principles & process
User Interface Design,Principles & process
Abd-Ur Rehman Saqib
 
DHANPAL COMPUTER PPT.pptx
DHANPAL COMPUTER PPT.pptxDHANPAL COMPUTER PPT.pptx
DHANPAL COMPUTER PPT.pptx
Sidhu97
 
STOCK PRED.pdf
STOCK PRED.pdfSTOCK PRED.pdf
STOCK PRED.pdf
Anushakp9
 
Munir ahmed
Munir ahmedMunir ahmed
Munir ahmed
muniryaseen
 
Aps11 design interface
Aps11 design interfaceAps11 design interface
Aps11 design interface
Arif Rahman
 
software-tools-part-1.ppt
software-tools-part-1.pptsoftware-tools-part-1.ppt
software-tools-part-1.ppt
SadiaZar1
 
RSA Training.pptx
RSA Training.pptxRSA Training.pptx
RSA Training.pptx
nuwan01
 
APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...
APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...
APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...
kushagrabudhwar2005
 
Five steps involved in user interface design are Use scenario dev.pdf
Five steps involved in user interface design are Use scenario dev.pdfFive steps involved in user interface design are Use scenario dev.pdf
Five steps involved in user interface design are Use scenario dev.pdf
navyugenterprisesdoo
 
application software of CS de - www.pptx
application software of CS de - www.pptxapplication software of CS de - www.pptx
application software of CS de - www.pptx
muhammadammarqaiser
 
SPOS_UNIT I System Programming and Operating System.pdf
SPOS_UNIT I System Programming and Operating System.pdfSPOS_UNIT I System Programming and Operating System.pdf
SPOS_UNIT I System Programming and Operating System.pdf
reshma96176
 
User Interface Design,Principles & process
User Interface  Design,Principles & processUser Interface  Design,Principles & process
User Interface Design,Principles & process
Abd-Ur Rehman Saqib
 
DHANPAL COMPUTER PPT.pptx
DHANPAL COMPUTER PPT.pptxDHANPAL COMPUTER PPT.pptx
DHANPAL COMPUTER PPT.pptx
Sidhu97
 
STOCK PRED.pdf
STOCK PRED.pdfSTOCK PRED.pdf
STOCK PRED.pdf
Anushakp9
 
Aps11 design interface
Aps11 design interfaceAps11 design interface
Aps11 design interface
Arif Rahman
 
Ad

Recently uploaded (20)

The Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLabThe Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLab
Journal of Soft Computing in Civil Engineering
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 

Text editor

  • 2.  An Interactive text editor has become an important part of almost any computing environment  Text editor acts as a primary interface to the computer for all type of “knowledge workers” as they compose, organize, study, and manipulate computer-based information. A text editor allows you to edit a text file (create, modify etc…).  The common editing features associated with text editors are, Moving the cursor, Deleting, Replacing, Pasting, Searching, Searching and replacing, Saving and loading, and, Miscellaneous(e.g. quitting)
  • 3.  Windows OS - Notepad, WordPad, Microsoft Word, and text editors.  UNIX OS - vi, emacs, jed, pico.  Gui based editors • Gedit gvim • Nedit • Tea • subtime
  • 4. Overview of the editing process  Document-editing process involves-  - Select the part of the target document to be viewed and manipulated  - Determine how to format this view on-line and how to display it  - Specify and execute operations that modify the target document  - Update the view appropriately O The above task involves traveling, filtering and formatting. Editing phase involves O – insert, delete, replace, move, copy, cut, paste, etc… O - Traveling – locate the area of interest O - Filtering - extracting the relevant subset O - Formatting – visible representation on a display screen
  • 5. User Interface O Conceptual model of the editing system provides an easily understood abstraction of the target document and its elements. O Line editors – simulated the world of the key punch – 80 characters, single line or an integral number of lines, O Screen editors – Document is represented as a quarter-plane of text lines, unbounded both down and to the right. O The user interface is concerned with, the input devices, the output devices and, the interaction language.
  • 6. O Input Devices are divided into three categories, text devices, button devices and, locator devices. O Text Devices are keyboard. O Button Devices are special function keys, symbols on the screen. O Locator Devices are mouse, data tablet. O voice input devices which translates spoken words to their textual equivalents. O Output Devices are Teletypewriters (first output devices), Glass teletypes (Cathode ray tube (CRT) technology), Advanced CRT terminals, TFT Monitors (Wysiwyg) and Printers (Hard-copy).
  • 7. O The interaction language could be, typing oriented or text command oriented and menu- oriented user interface. O Typing oriented or text command oriented interaction was with oldest editors, in the form of use of commands, use of function keys, control keys etc., O Menu-oriented user interface has menu with a multiple choice set of text strings or icons. Display area for text is limited. Menus can be turned on or off.
  • 9. Components of Editor Structure OCommand language processor: It accepts input from the user’s input devices, and analyzes the tokens and syntactic structure of the commands. The command language functions much like the lexical and syntactic phases of a complier. In complier CLP may invoke semantic routines directly.
  • 10. In a text editor, these semantic routines perform functions such as editing and viewing. CLP may produce an intermediate representation of the desired editing operations. This intermediate representation is then decoded by an interpreter that invokes the appropriate semantic routines. The use of an intermediate representation allows the editor to provide the variety of user-interaction languages with a single set of semantic routine.
  • 11. The routines involves travelling, editing, viewing and display functions. OEditing operations are always specified explicitly by the user. OThe Display operations are specified implicitly by the other three categories of operations. OThe travelling and viewing operations may be invoked either explicitly by the user or implicitly by the editing operations OThere is a relationship between this classes of operations and it is considerably more complicated than a simple model.
  • 12. Simple relationship between editing and viewing buffers
  • 13. OIn editing a document, the start of the area to be edited is determined by the editing component (which deals in editing task). OThe current editing pointer can be set or reset explicitly by the user with traveling command such as… ONext paragraph ONext screen. OOr implicitly by the system as a side effect such as delete paragraph. Current editing pointer
  • 14. OThe traveling component of the editor actually performs the setting of the current editing and the viewing pointers and determines the point at which the viewing or editing filtering begins. OWhen the user issues an editing command the editing component invokes the editing filter. OThis filter generates a new editing buffer based on the current editing pointer.
  • 15. OThese parameters which are specified both by the user and the system, provide information such as the range of the text that can be affected by an operation. --------------------End of CEP------------------
  • 16. Current viewing pointer OIn viewing a document, the start of the area to be viewed is determined by the current viewing pointer. OThis pointer is maintained by the viewing component of the editor OThe current viewing pointer can be set or reset explicitly by the user with a travelling command or explicitly by the system as a result of the previous editing operation . OWhen the display needs to be updated, the viewing component invoked the viewing filter.
  • 17. OThis component filters the document to generate the new viewing buffer based on the current viewing pointer as well as on the viewing filter parameters. OThis parameters which is specified both by the user and system, provide information such as the number of characters needed to fill the display and how to select them from the document.. OThe editing and viewing buffers, while independent, can be related in many ways. In the simplest case.. OThey are identical, the user edits the material directly on the screen