program.icn: Program to display portion of a program in a window

February 28, 1997; Ralph E. Griswold
Requires: Version 9 graphics
This file is in the public domain.

This program views the text of a program through a window.  The image
of the program is maintained in a pixmap.  Positioning the desired
portion of the program amounts to copying the appropriate portion
of the pixmap to the window.

The pixmap has half a window's white space at the top and at the
bottom to that the beginning and ends of a program can be shown
using the same logic as for interior portions of the program.

The program is written as a visual monitor to run under the control
of another program, such as Eve.


Source code | Program Library Page | Icon Home Page