[ Home Page ] [ Eiffel Archive ] [ Eiffel
Applications ]
 |
E-Edit : A key-word highlighting text editor written in Eiffel
|
Written by Mike Jones.
eedit1-3.zip (1,598,629 bytes) - source code
http://www.mass.com:8080/software/eedit (E-Edit Home Page)
Introduction
E-Edit is a key-word highlighting text editor written in Eiffel. The editor was designed as part of a tool for checking the syntax and semantics of
specialized languages. The public version has an output window for errors, but no checking functionality. The public version also does keyword
highlighting of Eiffel source code files.
The editor is easy to modify. New file types and key-words can be added with some simple code changes. Syntax checking can be integrated by using the
existing output window and adding a few menu items. It would not be hard to build a language tool into the editor, for example, an Eiffel compiler and
debugger.
The design of editor is a modified Model-View-Controller. A pattern approach was taken, so the design is interesting for those who are interested in the
practical application of patterns. For example the following patterns can be found in the design:
-
- Observer Pattern
- For screen update
- Command Pattern
- For undo/redo
- Visitor Pattern
- For pattern matching
- Model-View-Controller
- For overall architecture
- Dispatcher Pattern
- For notification granularity control
E-Edit has only been compiled with Visual Eiffel. The GUI uses the GRAPE library.
Installation
To install E-Edit:
- Download.
- Make a directory called eedit.
- Move the downloaded eedit.zip file into the eedit directory.
- Change to the directory.
- Unzip the file.
- Run eedit\editor\eedit.exe
- The help file is in eedit\help\eedithelp\WinHelp4
- If you compile E-Edit, download any patchs from the Bugs page at
http://www.mass.com:8080/software/eedit/bugs.html.
[ Home Page ] [ Eiffel Archive ] [ Eiffel
Applications ]