SlideShare a Scribd company logo
1 of 14
Editor Structure
By: Nikhil Palyekar
Overview
OIntroduction
OTypical Editor Structure
OSimple relationship between editing and viewing
buffers.
 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.
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…!!!

More Related Content

What's hot

What's hot (20)

1. over view and history of c
1. over view and history of c1. over view and history of c
1. over view and history of c
 
Unit 3 sp assembler
Unit 3 sp assemblerUnit 3 sp assembler
Unit 3 sp assembler
 
Variables in C Programming
Variables in C ProgrammingVariables in C Programming
Variables in C Programming
 
Ide description
Ide descriptionIde description
Ide description
 
Phases of Compiler
Phases of CompilerPhases of Compiler
Phases of Compiler
 
Assembly Language
Assembly LanguageAssembly Language
Assembly Language
 
1.Role lexical Analyzer
1.Role lexical Analyzer1.Role lexical Analyzer
1.Role lexical Analyzer
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
 
System software
System softwareSystem software
System software
 
Toy compiler
Toy compilerToy compiler
Toy compiler
 
C++ Overview PPT
C++ Overview PPTC++ Overview PPT
C++ Overview PPT
 
System software - macro expansion,nested macro calls
System software - macro expansion,nested macro callsSystem software - macro expansion,nested macro calls
System software - macro expansion,nested macro calls
 
Language processing activity
Language processing activityLanguage processing activity
Language processing activity
 
Compiler Design
Compiler DesignCompiler Design
Compiler Design
 
Introduction to Compiler Construction
Introduction to Compiler Construction Introduction to Compiler Construction
Introduction to Compiler Construction
 
Text Editor for System software
Text Editor for System softwareText Editor for System software
Text Editor for System software
 
debugging - system software
debugging - system softwaredebugging - system software
debugging - system software
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Software tools
Software toolsSoftware tools
Software tools
 
Types of Compilers
Types of CompilersTypes of Compilers
Types of Compilers
 

Similar to Editor structure (20)

Text editor
Text editorText editor
Text editor
 
Ss tools
Ss toolsSs tools
Ss tools
 
Ss tools
Ss toolsSs tools
Ss tools
 
Text editors(ss)
Text editors(ss)Text editors(ss)
Text editors(ss)
 
ss5.ppt
ss5.pptss5.ppt
ss5.ppt
 
Unit 5 2
Unit 5 2Unit 5 2
Unit 5 2
 
Ch10
Ch10Ch10
Ch10
 
Ch10
Ch10Ch10
Ch10
 
Compiler
Compiler Compiler
Compiler
 
Chapter1pdf__2021_11_23_10_53_20.pdf
Chapter1pdf__2021_11_23_10_53_20.pdfChapter1pdf__2021_11_23_10_53_20.pdf
Chapter1pdf__2021_11_23_10_53_20.pdf
 
APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...
APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...
APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...
 
Autosar software component
Autosar software componentAutosar software component
Autosar software component
 
LANGUAGE TRANSLATOR
LANGUAGE TRANSLATORLANGUAGE TRANSLATOR
LANGUAGE TRANSLATOR
 
system-software-tools
system-software-toolssystem-software-tools
system-software-tools
 
Run time, frequently, non-frequently reconfigurable system &
Run time, frequently, non-frequently reconfigurable system &Run time, frequently, non-frequently reconfigurable system &
Run time, frequently, non-frequently reconfigurable system &
 
robot_program.ppt
robot_program.pptrobot_program.ppt
robot_program.ppt
 
04 intel v_tune_session_05
04 intel v_tune_session_0504 intel v_tune_session_05
04 intel v_tune_session_05
 
ArduinoWorkshop2.pdf
ArduinoWorkshop2.pdfArduinoWorkshop2.pdf
ArduinoWorkshop2.pdf
 
Autosar-software-component_0hg.pptx
Autosar-software-component_0hg.pptxAutosar-software-component_0hg.pptx
Autosar-software-component_0hg.pptx
 
SSD Mod 2 -18CS61_Notes.pdf
SSD Mod 2 -18CS61_Notes.pdfSSD Mod 2 -18CS61_Notes.pdf
SSD Mod 2 -18CS61_Notes.pdf
 

Recently uploaded

Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoordharasingh5698
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf203318pmpc
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 

Recently uploaded (20)

Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 

Editor structure

  • 2. Overview OIntroduction OTypical Editor Structure OSimple relationship between editing and viewing buffers.
  • 3.  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.
  • 5. 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.
  • 6. 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.
  • 7. 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.
  • 8. Simple relationship between editing and viewing buffers
  • 9. 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
  • 10. 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.
  • 11. 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------------------
  • 12. 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.
  • 13. 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