Text Editor System Software
Text Editor System Software
Text Editor System Software
STRUCTURE OF A EDITOR
Function The main function is to analyze the tokens and the semantics of the input line with the help of various semantic routines.
Basic routines
Editing. -they are always explicitly mentioned by the users. Traveling. -they are either explicitly mentioned by the user of changed during the editing process. Viewing. -similar to traveling. Displaying. -This depends on the other three components.
Editing Component.
It is a collection of modules handling various editing tasks. During editing, the start of the area to be edited is determined current editing pointer. The position of the pointer can be set explicitly by the user with travelling commands like next line, next paragraph etc. It can also be set implicitly as a result of previous editing commands.
Traveling component.
It decides the current position of the current editing pointer and the current viewing pointer. In other words it determines the area of the document where editing and viewing begins.
Viewing component.
It is a collection of modules that determines the next view. It has a current viewing pointer which determines the start of the area to be viewed. The pointer is set explicitly by any traveling commands or implicitly by the previous editing operation.
Window
This is the display of the user side. This can take up the entire screen or only a potion of it. When only a rectangular portion of it is used it makes it easier for inter-file operations The mapping of the viewing buffer is accomplished by two components.
This formulates the ideal view often expressed as a device independent representation. This view might be in simple windows format or in a complex fully formatted version consisting of tables, pictures etc.
This takes the idealized view from the viewing component and maps it to the physical output device.