The object-oriented implementation of a document editor
- 31 October 1992
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 27 (10) , 154-165
- https://doi.org/10.1145/141937.141950
Abstract
Traditional document editors are large and complex. Using first-class objects to represent individual characters in a document, we have implemented an editor that is much smaller and simpler than editors of comparable power. This editor, named “Dot”, uses object sharing to reduce memory usage and an incremental update strategy to minimize screen redraw time. Our measurements show the current Dot implementation uses 10 bytes for each character in a document and 30 bytes for each visible character. On a IO-MIPS workstation, Dot can draw over 10 full pages per second and can keep pace with interactive typing speeds. These measurements and our experience using Dot shows that a fully object-oriented approach to document editing is practical. We used the editor to prepare and publish this paper.Keywords
This publication has 1 reference indexed in Scilit:
- Glyphs: flyweight objects for user interfacesPublished by Association for Computing Machinery (ACM) ,1990